Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/compat/common



Module Name:    src
Committed By:   martin
Date:           Wed Aug  3 11:16:12 UTC 2022

Modified Files:
        src/sys/compat/common [netbsd-9]: vfs_syscalls_20.c

Log Message:
Apply patch, requested by riastradh in ticket #1487:

        sys/compat/common/vfs_syscalls_20.c             (apply patch)

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.41.4.1 src/sys/compat/common/vfs_syscalls_20.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