]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093]
authorAlexandra Hájková <ahajkova@redhat.com>
Thu, 9 May 2019 11:51:40 +0000 (13:51 +0200)
committerAlexandra Hájková <ahajkova@redhat.com>
Thu, 23 May 2019 09:49:44 +0000 (11:49 +0200)
commit481c30cb9573a280649fbf27251e6a0f4af1b2b1
tree64ece1a10542c4cba311ec77c0ff0b4922c07b7f
parentcb755eede7abad9515d2194313ae3f9e1011791d
elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093]

This test corrupts /var/cache/ldconfig/aux-cache and executes ldconfig
to check it will not segfault using the corrupted aux_cache. The test
uses the test-in-container framework. Verified no regressions on
x86_64.
ChangeLog
elf/Makefile
elf/tst-ldconfig-bad-aux-cache.c [new file with mode: 0644]
elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf [new file with mode: 0644]
elf/tst-ldconfig-bad-aux-cache.root/postclean.req [new file with mode: 0644]