Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   maxv
Date:           Fri Mar 20 20:36:28 UTC 2015

Modified Files:
        src/sys/compat/linux/common: linux_exec_elf32.c
        src/sys/compat/linux32/common: linux32_exec_elf32.c
        src/sys/compat/netbsd32: netbsd32_exec_elf32.c
        src/sys/compat/svr4_32: svr4_32_exec_elf32.c
        src/sys/kern: exec_elf.c

Log Message:
Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the
padding between a_v and a_type contains kernel garbage, therefore
exposed to userland.

Original report by uebayasi@


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/common/linux_exec_elf32.c
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux32/common/linux32_exec_elf32.c
cvs rdiff -u -r1.38 -r1.39 src/sys/compat/netbsd32/netbsd32_exec_elf32.c
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/svr4_32/svr4_32_exec_elf32.c
cvs rdiff -u -r1.70 -r1.71 src/sys/kern/exec_elf.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