rtld: properly handle root directory in load path (bug 30435)
authorAndreas Schwab <schwab@suse.de>
Tue, 16 May 2023 12:41:46 +0000 (14:41 +0200)
committerAndreas Schwab <schwab@suse.de>
Thu, 25 May 2023 09:47:12 +0000 (11:47 +0200)
commite0189b25403f8b67e7a5513d6c33fb09cb2e5e20
treed93a96e805c2391b0db279861a9add72418c523e
parent7aec73c40691b7dfa48d22941ff72238aebe82eb
rtld: properly handle root directory in load path (bug 30435)

Don't strip the trailing slash when checking for existence of a load path
element to handle the special case of the root directory.
elf/dl-load.c