diff options
author | Gerhard Sittig | 2013-06-05 14:51:05 +0200 |
---|---|---|
committer | Wolfgang Denk | 2013-06-24 22:24:29 +0200 |
commit | 186f9c130faa3e228b0db7f45de359748f78b1c3 (patch) | |
tree | e61476e4d6495ff9f025b70a3035b72971f98c32 /net/sntp.c | |
parent | e1208c2fe5e07f9a248cfbf9bbb212aa34ad2806 (diff) |
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: Gerhard Sittig <gsi@denx.de>
Diffstat (limited to 'net/sntp.c')
0 files changed, 0 insertions, 0 deletions