summaryrefslogtreecommitdiffstats
path: root/usr.bin/svn/lib
diff options
context:
space:
mode:
authorgleb <gleb@FreeBSD.org>2013-07-01 04:06:40 +0000
committergleb <gleb@FreeBSD.org>2013-07-01 04:06:40 +0000
commit39f4fb1031b42aa9c5221c3580b9c63f806bdeca (patch)
tree3c08f190aa3936e8a9db94d2e63836b097740393 /usr.bin/svn/lib
parentc221a45b46001a965cee36b59d168651edac2030 (diff)
downloadFreeBSD-src-39f4fb1031b42aa9c5221c3580b9c63f806bdeca.zip
FreeBSD-src-39f4fb1031b42aa9c5221c3580b9c63f806bdeca.tar.gz
Don't assume that UFS on-disk format of a directory is the same as
defined by <sys/dirent.h> Always start parsing at DIRBLKSIZ aligned offset, skip first entries if uio_offset is not DIRBLKSIZ aligned. Return EINVAL if buffer is too small for single entry. Preallocate buffer for cookies. Cookies will be replaced with d_off field in struct dirent at later point. Skip entries with zero inode number. Stop mangling dirent in ufs_extattr_iterate_directory(). Reviewed by: kib Sponsored by: Google Summer Of Code 2011
Diffstat (limited to 'usr.bin/svn/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud