* bug#52671: glibc patch causes crash on failure to find path to executable
@ 2021-12-19 22:14 Ivan Kozlov
2021-12-20 21:38 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kozlov @ 2021-12-19 22:14 UTC (permalink / raw)
To: 52671
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#52671: glibc patch causes crash on failure to find path to executable
2021-12-19 22:14 bug#52671: glibc patch causes crash on failure to find path to executable Ivan Kozlov
@ 2021-12-20 21:38 ` Ludovic Courtès
2022-01-12 22:04 ` Ivan Kozlov
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-12-20 21:38 UTC (permalink / raw)
To: Ivan Kozlov; +Cc: 52671
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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#52671: glibc patch causes crash on failure to find path to executable
2021-12-20 21:38 ` Ludovic Courtès
@ 2022-01-12 22:04 ` Ivan Kozlov
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Kozlov @ 2022-01-12 22:04 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 52671
Just in case, http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52693 addresses this.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-12 22:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-19 22:14 bug#52671: glibc patch causes crash on failure to find path to executable Ivan Kozlov
2021-12-20 21:38 ` Ludovic Courtès
2022-01-12 22:04 ` Ivan Kozlov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).