GNU bug report logs - #29576
crasher in preopen.c

Previous Next

Package: libtool;

Reported by: Arun Raghavan <arun <at> arunraghavan.net>

Date: Tue, 5 Dec 2017 07:03:01 UTC

Severity: normal

To reply to this bug, email your comments to 29576 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#29576; Package libtool. (Tue, 05 Dec 2017 07:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Raghavan <arun <at> arunraghavan.net>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Tue, 05 Dec 2017 07:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Raghavan <arun <at> arunraghavan.net>
To: bug-libtool <at> gnu.org
Subject: crasher in preopen.c
Date: Tue, 05 Dec 2017 12:09:53 +0530
Hello,
I found the following bug in the preopen loader.

The precise point of the crash is:

  http://git.savannah.gnu.org/cgit/libtool.git/tree/libltdl/loaders/preopen.c#n282

Pasting the code here for reference:

   if (symlist[1].name && STREQ (symlist[1].name, "@INIT@"))

This is triggered when my program sets:

  const lt_dlsymlist lt_preloaded_symbols[] = { { 0, 0 } };

The cause is clearly the use of symlist[1] om that code. Presumably it
should be symlist[0]?

Cheers,
Arun




This bug report was last modified 7 years and 202 days ago.

Previous Next


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