This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/21329] New: dlerror() force end the program
- From: "rmbeer2 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 30 Mar 2017 01:44:30 +0000
- Subject: [Bug dynamic-link/21329] New: dlerror() force end the program
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21329
Bug ID: 21329
Summary: dlerror() force end the program
Product: glibc
Version: 2.25
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: rmbeer2 at gmail dot com
Target Milestone: ---
Where i use '-rdynamic' in the gcc, any error that take from dlopen() by lack
of symbol, the dlerror show the error and end the program. Never read "return
-1;".
The lines is:
hnd=dlopen(zn,RTLD_LAZY|RTLD_LOCAL);
if(!hnd){printf("%s\n",dlerror());return -1;}
--
You are receiving this mail because:
You are on the CC list for the bug.