On Sun, Aug 25, 2013 at 03:31:42PM +0200, Maxime Villard wrote: > Hi, > here is a patch for some tweaks in kern/exec_elf.c. > > * Typo in a comment > * elf_check_header() already ensures eh.e_phnum > MAXPHNUM How about also moving the check for eh.e_phnum == 0 into elf_check_header? Eric