]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fastboot: Correct fastboot_fail and fastboot_okay strings
authorDileep Katta <dileep.katta@linaro.org>
Fri, 13 Feb 2015 06:33:42 +0000 (14:33 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:05:52 +0000 (14:05 +0200)
commitf821ab28baae7b1bc54343bf21304fe191189ed6
tree4c3006953c36a91c1c7eff0c05280cc0687ea3c8
parentd5af7f692dbad9c87803786d9a4f1f2b9cbaaeae
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 <dileep.katta@linaro.org>
Reviewed-by: Steve Rae <srae@broadcom.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
common/fb_mmc.c