1
Author: Vincent Danen <vdanen@redhat.com>
3
patch to fix the flaw in libtool 2.x [CVE-2009-3736] (Closes: #559819).
5
diff -Naurp libextractor.orig/libltdl/ltdl.c libextractor/libltdl/ltdl.c
6
--- libextractor.orig/libltdl/ltdl.c 2009-07-04 21:11:43.000000000 +0000
7
+++ libextractor/libltdl/ltdl.c 2009-12-27 13:32:27.000000000 +0000
8
@@ -529,7 +529,7 @@ find_module (lt_dlhandle *handle, const
9
/* Try to open the old library first; if it was dlpreopened,
10
we want the preopened version of it, even if a dlopenable
11
module is available. */
12
- if (old_name && tryall_dlopen (handle, old_name, advise, 0) == 0)
13
+ if (old_name && tryall_dlopen (handle, old_name, advise, lt_dlloader_find ("lt_preopen") ) == 0)
17
@@ -1345,7 +1345,7 @@ try_dlopen (lt_dlhandle *phandle, const
24
file = fopen (attempt, LT_READTEXT_MODE);