Skip to content
Snippets Groups Projects
Commit 186f9c13 authored by Gerhard Sittig's avatar Gerhard Sittig Committed by Wolfgang Denk
Browse files

ac14xx: fix a potential NULL deref in diagnostics


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: default avatarGerhard Sittig <gsi@denx.de>
parent e1208c2f
No related branches found
No related tags found
No related merge requests found
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