dlopen() calls exit() instead of returning error when module has unresolved symbols.

Mike Frysinger vapier at gentoo.org
Sun Oct 9 04:08:31 UTC 2005


On Saturday 08 October 2005 06:48 pm, Oleg Girko wrote:
> I've found that dlopen() function in uClibc (version 0.9.28) works
> incorrectly when called with RTLD_NOW flag and loadable module contains
> unresolved symbols. Instead of returning NULL (and store error message to
> be retrieved later by dlerror()), it outputs error message and calls
> exit().

hmm, try changing the calls to '_dl_exit()' in ldso/ldso/<ARCH>/elfinterp.c to 
just 'return 0'
-mike



More information about the uClibc mailing list