summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorDileep Katta <[email protected]>2015-02-13 14:33:42 +0800
committerMarek Vasut <[email protected]>2015-02-25 17:47:02 +0100
commite874207134e9d2d5958636f7f32b60e5441ab320 (patch)
tree429c3cd7b1bf2eea826bc752da895878061cf18e /include/stdlib.h
parent9e4b510d40310bf46e09f4edd0a0b6356213df47 (diff)
fastboot: Correct fastboot_fail and fastboot_okay strings
If the string is copied without NULL termination using strncpy(), then strncat() on the next line, may concatenate the string after some stale (or random) data, if the response string was not zero-initialized. Signed-off-by: Dileep Katta <[email protected]> Reviewed-by: Steve Rae <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
Diffstat (limited to 'include/stdlib.h')
0 files changed, 0 insertions, 0 deletions