Module Name: src Committed By: mlelstv Date: Sun Feb 24 19:06:40 UTC 2019
Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Reading a directory may trigger a panic when the buffer is too small. Adjust necessary checks. While here, also check for arithmetic overflow. Reported-by: syzbot+88ecace8bff241690...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/ufs/ufs/ufs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.