Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

library/3053: dlsym(NULL, "foo") segfaults

From: <joe(at)manyfish.co.uk>
Date: Sun Dec 29 2002 - 17:58:27 EST


>Number: 3053
>Category: library
>Synopsis: dlsym(NULL, "foo") segfaults, breaking Single Unix
>Confidential: no
net
>Environment:

	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
dlsym(NULL, "foo") always segfaults; Single Unix v3 requires that "" If handle does not refer to a valid object opened by dlopen(), or if the named symbol cannot be found within any of the objects associated with handle, dlsym() shall return NULL. ""

>How-To-Repeat:

#include 
#include 
#include 

int main(int argc, char **argv)
{

        dlsym(NULL, "foo");
        return 0;

}         

>Fix:

>Release-Note:
Received on Mon Dec 30 08:45:41 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:43 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library