summaryrefslogtreecommitdiff
path: root/lib/libusbhid
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-12-24 20:57:22 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-12-24 20:57:22 +0000
commit3ff258954cb08b3aee4ddf20b0438f03568d9c15 (patch)
tree8efdfaebe3bcd5d3e9ce58cdb57df1a0e17015de /lib/libusbhid
parent314fc043bd09e9b165db5d82f86ddcde18e92fff (diff)
Kill a race condition which occurs when listing a directory containing
an empty dir non-recursively. By not setting FTS_SKIP on the empty subdir, a next iteration of the fts_read loop recurses into the subdir, which might not be empty any more. Report by jacekm@, troublespot identified by pedro@; ok pedro@ millert@
Diffstat (limited to 'lib/libusbhid')
0 files changed, 0 insertions, 0 deletions