summaryrefslogtreecommitdiff
path: root/usr.bin/ypmatch
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-05-13 05:50:25 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-05-13 05:50:25 +0000
commitad8189fb5b6fc3356176d1de4ace98c13dcf4f97 (patch)
treedae13c55baa1421ce32563d7ddd079032be02288 /usr.bin/ypmatch
parent558002c588a4a989ea94cf5bd0e06eb85d077e94 (diff)
Since this is limited to ffs, use ufsinfo_t instead of ino_t.
Grow the array of cached inodes exponentially instead of arithmetically. Prefer sizeof(*pointer) over sizeof(type) in mallocs. Don't leak memory in searchdir(). Fix multiple bugs in the handling of indirect blocks, including reuse of a static buffer in a recursive function and failure to track the remaining size of the directory blocks to process Tested with a directory *doubly* indirect block! ok krw@
Diffstat (limited to 'usr.bin/ypmatch')
0 files changed, 0 insertions, 0 deletions