Files
u-boot/lib
Heinrich Schuchardt 6c74e94a65 lib/display_options: avoid illegal memory access
display_options_get_banner_priv() overwrites bytes before the start of the
buffer if the buffer size is less then 3. This case occurs in the Sandbox
when executing the `ut_print` command.

Correctly handle small buffer sizes. Adjust the print unit test to catch
when bytes before the buffer are overwritten.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-05-05 08:48:50 -04:00
..
2019-05-02 18:17:50 +02:00
2019-04-03 10:26:46 -04:00
2019-02-13 09:40:05 +01:00
2019-04-11 20:10:50 -06:00
2018-06-13 07:49:12 -04:00
2019-05-03 07:23:17 -04:00
2019-02-02 08:19:17 -05:00
2019-02-09 07:50:58 -05:00
2012-04-29 14:14:08 +02:00
2018-09-05 16:02:34 -04:00
2018-11-20 19:14:22 -07:00
2019-03-29 10:53:18 -04:00
2019-02-19 08:55:43 -05:00