diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-05-13 05:50:25 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-05-13 05:50:25 +0000 |
commit | ad8189fb5b6fc3356176d1de4ace98c13dcf4f97 (patch) | |
tree | dae13c55baa1421ce32563d7ddd079032be02288 /libexec/rpc.rusersd | |
parent | 558002c588a4a989ea94cf5bd0e06eb85d077e94 (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 'libexec/rpc.rusersd')
0 files changed, 0 insertions, 0 deletions