
19 Jun
2018
19 Jun
'18
8:42 p.m.
On Tue, Jun 12, 2018 at 12:04:56AM -0600, Simon Glass wrote:
Both putc() and puts() can be called before global_data is set up. Some of the code paths don't handle this correctly. Add an explicit test before any member is accessed.
Reported-by: Coverity (CID: 169030) Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Heinrich Schuchardt xypron.glpk@gmx.de
Applied to u-boot/master, thanks!
--
Tom