about summary refs log tree commit diff
path: root/malloc/tst-mallocstate.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-03-01 18:53:03 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-03-01 18:53:42 +0100
commitc259196b5005812aa3294dbf4eeca29b266a4522 (patch)
tree05195ae1b2e826cc3ba42f09913e3a923f6ba6e9 /malloc/tst-mallocstate.c
parent928b305d3f6773b6a8cd1202da4f7d5d9a654456 (diff)
downloadglibc-c259196b5005812aa3294dbf4eeca29b266a4522.tar.gz
glibc-c259196b5005812aa3294dbf4eeca29b266a4522.tar.xz
glibc-c259196b5005812aa3294dbf4eeca29b266a4522.zip
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 0065aaaaae51cd60210ec3a7e13.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/tst-mallocstate.c')
0 files changed, 0 insertions, 0 deletions