From 7e62aad062c862031343f64a57d0c01ce7941bcd Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 10 Dec 2009 11:41:55 +0100 Subject: [PATCH] Fix CVE-2009-3736 --- libltdl/ltdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 025d624..3690f2a 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -1329,7 +1329,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext, } #endif } - if (!file) + else { file = fopen (attempt, LT_READTEXT_MODE); } -- 2.1.4