diff options
author | 2010-03-08 19:34:44 +0000 | |
---|---|---|
committer | 2010-03-08 19:34:44 +0000 | |
commit | 32387799d609d31160c04ca53efdf7c733ff64fa (patch) | |
tree | 231d310ddc26b3025fbc38ff36e87d11fc484a27 /lib | |
parent | Update to tzdata2010e from elsie.nci.nih.gov (diff) | |
download | wireguard-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')
0 files changed, 0 insertions, 0 deletions