Re: [U-Boot] [PATCH v2 1/7] ac14xx: fix a potential NULL deref in diagnostics

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-2-git-send-email-...@denx.de> you wrote: > getenv() immediately after setenv() may perfectly legally return NULL, so > make sure to not deference an invalid pointer when creating diagnostic output > > Signed-off-by: Gerhard Sittig > --- > board/

[U-Boot] [PATCH v2 1/7] ac14xx: fix a potential NULL deref in diagnostics

2013-06-05 Thread Gerhard Sittig
getenv() immediately after setenv() may perfectly legally return NULL, so make sure to not deference an invalid pointer when creating diagnostic output Signed-off-by: Gerhard Sittig --- board/ifm/ac14xx/ac14xx.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/board