Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys/ufs/ufs



Module Name:    src
Committed By:   martin
Date:           Thu Feb 27 14:41:05 UTC 2020

Modified Files:
        src/sys/ufs/ufs [netbsd-8]: ufs_vnops.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1511):

        sys/ufs/ufs/ufs_vnops.c: revision 1.249

Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as
ufs_makedirentry().

Found by kMSan: the unzeroed bytes of the pool_cache were getting copied
to the disk via a DMA write operation, and there kMSan was noticing
uninitialized memory leaving the system.


To generate a diff of this commit:
cvs rdiff -u -r1.237.4.1 -r1.237.4.2 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.




Home | Main Index | Thread Index | Old Index