[uClibc-cvs] [uClibc 0000358]: libdl (dlopen/dlsym) segfault when called from statically linked executable

bugs at busybox.net bugs at busybox.net
Wed Jul 27 02:25:55 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=358 
====================================================================== 
Reported By:                hassold
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   358
Category:                   Shared Library Support
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             07-26-2005 19:25 PDT
Last Modified:              07-26-2005 19:25 PDT
====================================================================== 
Summary:                    libdl (dlopen/dlsym) segfault when called from
statically linked executable
Description: 
Current (svn) libdl implementation in uClibc (dlopen() and friends)
segfault if called from a statically linked executable, since
_dl_symbol_tables is implicitly assumed to be non-NULL in dlopen() and
dlsym() (which is true for dynamic exes), and dereferenced (while its
initial value is NULL when called from a static executable).

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-26-05 19:25  hassold        New Issue                                    
07-26-05 19:25  hassold        Status                   new => assigned     
07-26-05 19:25  hassold        Assigned To               => uClibc          
07-26-05 19:25  hassold        File Added: libdl.patch                      
======================================================================




More information about the uClibc-cvs mailing list