Source-Changes archive

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

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



Module Name:    src
Committed By:   martin
Date:           Wed Aug  3 11:01:51 UTC 2022

Modified Files:
        src/sys/altq [netbsd-9]: altq_hfsc.c altq_priq.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1488):

        sys/altq/altq_hfsc.c: revision 1.29
        sys/altq/altq_priq.c: revision 1.27

sys/altq: 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.28 -r1.28.4.1 src/sys/altq/altq_hfsc.c
cvs rdiff -u -r1.26 -r1.26.4.1 src/sys/altq/altq_priq.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