diff options
author | delphij <delphij@FreeBSD.org> | 2014-10-23 18:23:50 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-10-23 18:23:50 +0000 |
commit | 466c8cbf489492f1f2e130fc2571398967124b22 (patch) | |
tree | 314a7f4e807f4371eaab9178ce2435c3b319e35d /contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c | |
parent | 7167b162bc1b4cd62c1fa999094c93ade107e07c (diff) | |
download | FreeBSD-src-466c8cbf489492f1f2e130fc2571398967124b22.zip FreeBSD-src-466c8cbf489492f1f2e130fc2571398967124b22.tar.gz |
Test if 'env' is NULL before doing memset() and strlen(),
the caller may pass NULL to freeenv().
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c')
0 files changed, 0 insertions, 0 deletions