Source-Changes archive

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

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



Module Name:    src
Committed By:   martin
Date:           Thu Feb 27 18:55:05 UTC 2020

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

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

        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.247 -r1.247.2.1 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