Module Name:    src
Committed By:   maxv
Date:           Tue Apr 15 17:29:00 UTC 2014

Modified Files:
        src/sys/compat/linux/common: linux_exec_elf32.c

Log Message:
A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to