]> git.ipfire.org Git - thirdparty/glibc.git/commit - elf/dl-cache.c
ld.so: Check for new cache format first and enhance corruption check
authorFlorian Weimer <fweimer@redhat.com>
Mon, 15 Jun 2020 07:50:14 +0000 (09:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 15 Jun 2020 07:50:14 +0000 (09:50 +0200)
commite221c512c74ec42fd47b71de2981a475b38110a4
tree546ddce4493cf48a2479f41ff5195536a9e11c0c
parentc1dcc541131bb090ddc792139545ffcd2511a1dc
ld.so: Check for new cache format first and enhance corruption check

Now that ldconfig defaults to the new format (only), check for it
first.  Also apply the corruption check added in commit 2954daf00bb4d
("Add more checks for valid ld.so.cache file (bug 18093)") to the
new-format-only case.

Suggested-by: Josh Triplett <josh@joshtriplett.org>
elf/dl-cache.c