try_dlopen() has a bug: it sometimes returns a handle if a dependency
authorfcusack <fcusack>
Fri, 23 Jun 2006 04:55:50 +0000 (04:55 +0000)
committerfcusack <fcusack>
Fri, 23 Jun 2006 04:55:50 +0000 (04:55 +0000)
commit85ff9b3e3989ee25c3f31dca30c0f8d953bbdfd0
tree0fe479b0727fc975bf730c76cf5ca97692dcfa14
parent0c45f721730c6db9cf33c116ed2c66400f489981
try_dlopen() has a bug: it sometimes returns a handle if a dependency
library can't be loaded.  It also returns an error status, however
lt_dlopenext() doesn't handle this well and returns the invalid handle.
This causes a segfault instead of a graceful exit.  Update ltdl to
give an error telling the user to report the problem, so that we can
try to reproduce it and report to the libtool folks.  We could just
leave ltdl unpatched; FR will exit either way.
libltdl/ltdl.c
libltdl/ltdl.h