Source-Changes archive

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

CVS commit: src/sys/altq

Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 30 08:40:32 UTC 2021

Modified Files:
        src/sys/altq: altq_hfsc.c altq_priq.c

Log Message:
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.29 src/sys/altq/altq_hfsc.c
cvs rdiff -u -r1.26 -r1.27 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