summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-11-03 15:36:04 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-11-03 15:36:04 +0000
commit98870c98aad8e7635f9b7769ac8b3d2a0f6a421c (patch)
tree7cc2f4442c70d0c1bac48f6bf1aaa8b83c53eaf5 /lib
parentfc2afa2187c47c08797529c4ef6a0070ac0e3d27 (diff)
Don't leak a file descriptor when testing for permissions, also make
sure directory is executable, otherwise we can't list it. Found by and original diff from RustyBSD. While here, strlen returns a size_t not an int. ok florian.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions