Module Name: src Committed By: msaitoh Date: Wed May 14 05:18:05 UTC 2014
Modified Files: src/sys/compat/linux/common [netbsd-5-1]: linux_exec_elf32.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1902): src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch 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.81 -r1.81.16.1 \ 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.