summaryrefslogtreecommitdiffstats
path: root/ctl-plugin
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 16:07:56 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 16:07:56 +0200
commitc0ae4498374ae0873070566dfa570145345708e0 (patch)
tree167729220b3ca98148183382fd64668287f902d9 /ctl-plugin
parentce1090128a8c6b403670d64ee1b80620b6736aa6 (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 'ctl-plugin')
0 files changed, 0 insertions, 0 deletions