Menu

#2 ii declared too small (16 bits) in ald 0.1.7

open
nobody
None
5
2008-01-18
2008-01-18
Roy Tobin
No

Ran into bug in ald 0.1.7 when ELF a.out has alot of symbols. Seems index
of iteration is declared as half-word (16 bits) and the number of symbols
exceeded this. Looped endlessly and consumed all memory on the machine.
Changed all occurences of Elf32_Half ii to Elf32_Word and fixed my test
case, which had over 310K symbols.

Discussion

  • Roy Tobin

    Roy Tobin - 2008-01-18

    Logged In: YES
    user_id=37886
    Originator: YES

    File is fmt_elf.c

     
  • Roy Tobin

    Roy Tobin - 2008-01-18
    • summary: ii to small in ald 0.1.7 --> ii declared too small (16 bits) in ald 0.1.7
     
  • Roy Tobin

    Roy Tobin - 2008-01-20

    Logged In: YES
    user_id=37886
    Originator: YES

    Patch provided on Forums->Open discussion

     

Log in to post a comment.

MongoDB Logo MongoDB