emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52671: closed (glibc patch causes crash on failure to find path to e


From: GNU bug Tracking System
Subject: bug#52671: closed (glibc patch causes crash on failure to find path to executable)
Date: Sun, 29 Jan 2023 23:35:01 +0000

Your message dated Mon, 30 Jan 2023 00:34:40 +0100
with message-id <878rhk3ofj.fsf@gnu.org>
and subject line Re: bug#52693: [PATCH] gnu: glibc: Handle failure to find 
$ORIGIN.
has caused the debbugs.gnu.org bug report #52671,
regarding glibc patch causes crash on failure to find path to executable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52671: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52671
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: glibc patch causes crash on failure to find path to executable Date: Mon, 20 Dec 2021 01:14:38 +0300
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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#52693: [PATCH] gnu: glibc: Handle failure to find $ORIGIN. Date: Mon, 30 Jan 2023 00:34:40 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hi Ivan,

Ivan Kozlov <kanichos@yandex.ru> skribis:

> Fixes <https://issues.guix.gnu.org/52671>.
>
> * gnu/packages/patches/glibc-dl-cache.patch: Check pointer returned by 
> '_dl_get_origin' for failure indication.

Somehow we forgot about this patch for a whole year, and it turns out I
stumbled upon the bug again just hours ago¹.

Now pushed to ‘core-updates’ as
edb8c09addd186d9538d43b12af74d6c7aeea082.

Thanks again, and apologies for the delay!

Ludo’.

¹ https://issues.guix.gnu.org/61156


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]