summaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 16:09:07 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commite6fbb41fea0e7e4dcc58d7304fe68229d86b3cb7 (patch)
tree83fe166f7c87bdfa604f5370b2886008eb3d3d1a /filescan-utils.h
parent06ab07ec5dcb64959c79787cd0f9d572f5fd333a (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 'filescan-utils.h')
0 files changed, 0 insertions, 0 deletions