Home
last modified time | relevance | path

Searched hist:b593575d (Results 1 – 2 of 2) sorted by relevance

/netbsd/sys/altq/
H A Daltq_priq.cb593575d Mon Aug 30 08:40:31 GMT 2021 riastradh <riastradh@NetBSD.org> 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.
H A Daltq_hfsc.cb593575d Mon Aug 30 08:40:31 GMT 2021 riastradh <riastradh@NetBSD.org> 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.