Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] Some tweaks for ELF
On 08/26/13 16:58, Eric Haszlakiewicz wrote:
> 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
>
I thought of it, but since elf_check_header can be used
externally (sys/exec_elf.h), I did not want to break
anything.
Home |
Main Index |
Thread Index |
Old Index