diff options
author | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-11-03 15:36:04 +0000 |
---|---|---|
committer | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-11-03 15:36:04 +0000 |
commit | 98870c98aad8e7635f9b7769ac8b3d2a0f6a421c (patch) | |
tree | 7cc2f4442c70d0c1bac48f6bf1aaa8b83c53eaf5 /lib | |
parent | fc2afa2187c47c08797529c4ef6a0070ac0e3d27 (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