diff options
author | Damien Zammit <damien@zamaudio.com> | 2017-09-03 21:04:41 +1000 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-13 19:25:14 +0000 |
commit | 0025247171cff79fc955f70ed127a3de49c68d28 (patch) | |
tree | 58d70d555d5c11a798a79b0a32b241bf235dff1a /util/cbfstool/fmd_scanner.c_shipped | |
parent | 7bc0e4274928243df61e96a099d141d7251a3956 (diff) |
rmodtool: Increase limit on number of symbols
An internal index `i` was previously allocated as
Elf64_Half which is uint16_t. Bumping to uint64_t
increases the number of allowed symbols and prevents
a segfault in processing a larger ramstage.debug file.
Also introduce a separate counter for the number of sections.
Change-Id: I9ad2f64c452cef2e7bf957f766600891cb5ae798
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/21360
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'util/cbfstool/fmd_scanner.c_shipped')
0 files changed, 0 insertions, 0 deletions