[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52671: glibc patch causes crash on failure to find path to executabl
From: |
Ludovic Courtès |
Subject: |
bug#52671: glibc patch causes crash on failure to find path to executable |
Date: |
Mon, 20 Dec 2021 22:38:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Ivan Kozlov <kanichos@yandex.ru> skribis:
> glibc-dl-cache.patch causes segmentation fault when _dl_get_origin fails
> (which should be harmless unless there is $ORIGIN in RUNPATH). I found this
> when running a dynamically linked executable as ‘init’, before /proc was
> mounted. There needs to be an origin != (char *)-1 check.
Ouch. Would you like to send a patch against glibc-dl-cache.patch?
Thanks,
Ludo’.