summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_memchr.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-10-23 18:23:50 +0000
committerdelphij <delphij@FreeBSD.org>2014-10-23 18:23:50 +0000
commit466c8cbf489492f1f2e130fc2571398967124b22 (patch)
tree314a7f4e807f4371eaab9178ce2435c3b319e35d /contrib/netbsd-tests/lib/libc/string/t_memchr.c
parent7167b162bc1b4cd62c1fa999094c93ade107e07c (diff)
downloadFreeBSD-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/string/t_memchr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud