Skip to content
Commit e8742071 authored by Dileep Katta's avatar Dileep Katta Committed by Marek Vasut
Browse files

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: default avatarDileep Katta <dileep.katta@linaro.org>
Reviewed-by: default avatarSteve Rae <srae@broadcom.com>
Reviewed-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent 9e4b510d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment