GNU bug report logs - #52671
glibc patch causes crash on failure to find path to executable

Previous Next

Package: guix;

Reported by: Ivan Kozlov <kanichos <at> yandex.ru>

Date: Sun, 19 Dec 2021 22:15:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ivan Kozlov <kanichos <at> yandex.ru>
To: 52671 <at> debbugs.gnu.org
Subject: bug#52671: 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.




This bug report was last modified 2 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.