summaryrefslogtreecommitdiffstats
path: root/conf.d/app-templates
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 16:07:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:25 +0100
commite572871c06b7d04722d56becf7ef8ad86b14124c (patch)
tree167729220b3ca98148183382fd64668287f902d9 /conf.d/app-templates
parentd60bc482a611e31da6e0b78b6e482ee270635891 (diff)
Fix strncat funct
I: Statement might be overflowing a buffer in strncat. Common mistake: BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'conf.d/app-templates')
0 files changed, 0 insertions, 0 deletions