diff options
| author | Mark Wielaard <[email protected]> | 2017-03-28 01:25:34 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-04-04 00:24:02 +0200 |
| commit | 4314716cd498bb51639db717bd7ce6182de33322 (patch) | |
| tree | 3fc46a11116b9e546e9f2f47ba21768e5d66bf95 /src/ChangeLog | |
| parent | 61fe61898747f63eb35a81c2261f3590a3dab8fd (diff) | |
elflint: Sanity check the number of phdrs and shdrs available.
Make sure we can at least read the shnum sections or phnum segments.
Limit the number we do check to those we can actually read.
https://sourceware.org/bugzilla/show_bug.cgi?id=21312
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 70744bcf..d285e068 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2017-03-27 Mark Wielaard <[email protected]> + * elflint.c (check_elf_header): Sanity check phnum and shnum. + +2017-03-27 Mark Wielaard <[email protected]> + * elflint.c (check_sysv_hash): Return early if section size is too small. (check_sysv_hash64): Likewise. |
