Skip to content
Commit c259196b authored by Florian Weimer's avatar Florian Weimer
Browse files

elf/tst-big-note: Improve accuracy of test [BZ #20419]



It is possible that the link editor injects an allocated ABI tag note
before the artificial, allocated large note in the test.  Note parsing
in open_verify stops when the first ABI tag note is encountered, so if
the ABI tag note comes first, the problematic code is not actually
exercised.

Also tweak the artificial note so that it is a syntactically valid
4-byte aligned note, in case the link editor tries to parse notes and
process them.

Improves the testing part of commit 0065aaaa.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 928b305d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment