Fix length of section header array in ELF struct

Review Request #125808 - Created Oct. 26, 2015 and submitted

Information
Elvis Stansvik
okteta
master
Reviewers
kossebau

The number of entries should be taken from e_shnum, not e_phnum which is for the program header table. Probably a copy/paste error from above.

Tested it on an ELF with 8 program header table entries and 26 section header table entries. See attached before and after screenshots.

Files


Friedrich W. H. Kossebau
Alex Richardson
Elvis Stansvik
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 5de6ffe07eab61eadf21f3b2c33531da728a5eed by Elvis Stansvik to branch master.
Loading...