[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5-0] src/sys/kern
Module Name: src
Committed By: bouyer
Date: Tue Aug 31 10:55:34 UTC 2010
src/sys/kern [netbsd-5-0]: exec_subr.c kern_pax.c
Pull up following revision(s) (requested by christos in ticket #1444):
sys/kern/kern_pax.c: revision 1.24
sys/kern/exec_subr.c: revision 1.65
Fix issues with stack allocation and pax aslr:
- since the size is unsigned, don't check just that it is > 0, but limit
it to the MAXSSIZ
- if the stack size is reduced because of aslr, make sure we reduce the
actual allocation by the same size so that the size does not wrap around.
NB: Must be pulled up to 5.x!
To generate a diff of this commit:
cvs rdiff -u -r188.8.131.52 -r184.108.40.206.2.1 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.22 -r220.127.116.11 src/sys/kern/kern_pax.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |