diff options
author | doug <> | 2015-07-20 17:10:45 +0000 |
---|---|---|
committer | doug <> | 2015-07-20 17:10:45 +0000 |
commit | f276ff61f519b6ff489a6cf3a6b65552902f1384 (patch) | |
tree | 54e913c323598c1e31eb77b85bfd686a9428b8c9 /src/lib/libc/stdlib/getsubopt.c | |
parent | 05278d57e115c91084a6b18a7b8de5c1c8c62eb3 (diff) | |
download | openbsd-f276ff61f519b6ff489a6cf3a6b65552902f1384.tar.gz openbsd-f276ff61f519b6ff489a6cf3a6b65552902f1384.tar.bz2 openbsd-f276ff61f519b6ff489a6cf3a6b65552902f1384.zip |
Avoid dereferencing a NULL.
Move NULL check before use. Fixes Coverity issue 21746.
ok miod@ jsing@
Diffstat (limited to 'src/lib/libc/stdlib/getsubopt.c')
0 files changed, 0 insertions, 0 deletions