summaryrefslogtreecommitdiff
path: root/usr.bin/dirname
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-10-22 19:04:24 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-10-22 19:04:24 +0000
commitda83f0b9bfa8df955a54a117dc1fe674e6e27f77 (patch)
tree08237c6c66ee859b28ec70404d73ae3ad3bbe575 /usr.bin/dirname
parent6e363212d16d26425498972bb2e01ed7035bb463 (diff)
from netbsd:
Fix a panic that occurred when trying to traverse a corrupt msdosfs filesystem. With this particular corruption, the code in pcbmap() would compute an offset into an array that was way out of bounds, so check the bounds before trying to access and return an error if the offset would be out of bounds.
Diffstat (limited to 'usr.bin/dirname')
0 files changed, 0 insertions, 0 deletions