Now
netbsd-8 commitmail json YAML
src/sys/altq/altq_hfsc.c@1.26.10.2
/
diff
/
nxr@1.26.10.2
src/sys/altq/altq_priq.c@1.23.10.2 / diff / nxr@1.23.10.2
src/sys/altq/altq_priq.c@1.23.10.2 / diff / nxr@1.23.10.2
Pull up following revision(s) (requested by riastradh in ticket #1831):
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.
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.