[U-Boot] possible string overflow issue.

Joya Cruz, Alejandro alejandro.joya.cruz at intel.com
Fri Jul 10 20:41:48 CEST 2015


I was running a static code analysis.
And found a possible string overflow, this occurs in common/cli_simple.c  line 278
It  might overrun the 512 byte destination string lastcommand by writing 513 bytes from console_buffer
Hopefully someone could be able to review with more knowledge in this code.

Regards,

Alejandro Fco Joya Cruz
Intel Guadalajara Design Center
Phone: +52 33 1645 4987
Email: Alejandro.joya.cruz at intel.com<mailto:Alejandro.joya.cruz at intel.com>



More information about the U-Boot mailing list