Current-Users archive

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

Re: [PATCH] Some tweaks for ELF



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


Home | Main Index | Thread Index | Old Index