[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bug fix for grub-pe2elf
From: |
Bean |
Subject: |
Re: [PATCH] bug fix for grub-pe2elf |
Date: |
Sat, 11 Apr 2009 20:07:51 +0800 |
On Sat, Apr 11, 2009 at 6:24 PM, Yoshinori K. Okuji <address@hidden> wrote:
> On Saturday 11 April 2009 18:29:00 Bean wrote:
>> Hi,
>>
>> When symbol name is 8 or less, pe store it as short name, which is not
>> necessary null-terminated.
>
> Oh, I didn't know that. Where is it documented?
Hi,
Recently, I found some wired symbol not found error in modules
generated by mingw. After examining the binary image, it seems that PE
would use short name even for symbol whose length is 8, therefore no
null character at the end. grub-pe2elf assume the name is
null-terminated, which could result in extra characters in the
symbols.
--
Bean