[Python-bugs-list] [ python-Bugs-505417 ] Dynamic loading bug on HPUX
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 18 Jan 2002 13:06:53 -0800
Bugs item #505417, was opened at 2002-01-18 07:48
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505417&group_id=5470
Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Eddy De Greef (edg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Dynamic loading bug on HPUX
Initial Comment:
When a shared library is found on HPUX, but the
requested symbol cannot be found, the dynamic
loading function returns a random pointer,
causing a crash soon afterwards.
Python/dynload_hpux.c, line 50:
shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *)
&p);
I suggest initializing p to NULL explicitly or
checking the return value of shl_findsym(): -1 is
returned on error.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-01-18 13:06
Message:
Logged In: YES
user_id=21627
Can you please refer us to online documentation for
shl_findsym? Or betterm can you provide a tested patch?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505417&group_id=5470