summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-03-08 19:34:44 +0000
committerkettenis <kettenis@openbsd.org>2010-03-08 19:34:44 +0000
commit32387799d609d31160c04ca53efdf7c733ff64fa (patch)
tree231d310ddc26b3025fbc38ff36e87d11fc484a27 /lib/libc
parentUpdate to tzdata2010e from elsie.nci.nih.gov (diff)
downloadwireguard-openbsd-32387799d609d31160c04ca53efdf7c733ff64fa.tar.xz
wireguard-openbsd-32387799d609d31160c04ca53efdf7c733ff64fa.zip
Check that gl_pathc is bigger than zero before derefencing gl_pathv. While
this shouldn't happen since we specifiy GLOB_NOMAGIC, it doesn't hurt to be paranoid, even if we fix the bug in glob(3) that causes gl_pathc to be zero even if we specify GLOB_NOMAGIC. ok deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions