Searched hist:b593575d (Results 1 – 2 of 2) sorted by relevance
/netbsd/sys/altq/ |
H A D | altq_priq.c | b593575d 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 D | altq_hfsc.c | b593575d 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.
|