libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: dont SEGV when lt_dlopening extensionless names [libtool--devo--1.0


From: Gary V. Vaughan
Subject: FYI: dont SEGV when lt_dlopening extensionless names [libtool--devo--1.0--patch-217]
Date: Fri, 1 Oct 2004 03:57:05 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.

  * looking for address@hidden/libtool--devo--1.0--patch-216 to compare with
  * comparing to address@hidden/libtool--devo--1.0--patch-216
  M  ChangeLog
  M  libltdl/ltdl.c
  
  * modified files
  
  Index: Changelog
  from  Ralf Wildenhues  <address@hidden>
        * libltdl/ltdl.c (try_dlopen): Fix null pointer dereference in
        case the name given to lt_dlopen contains no extension.
  
  --- orig/libltdl/ltdl.c
  +++ mod/libltdl/ltdl.c
  @@ -986,6 +986,10 @@
     assert (base_name && *base_name);
   
     ext = strrchr (base_name, '.');
  +  if (!ext)
  +    {
  +      ext = base_name + LT_STRLEN (base_name);
  +    }
   
     /* extract the module name from the file name */
     name = MALLOC (char, ext - base_name + 1);
  
  
  
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.6
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBXMeAFRMICSmD1gYRAmW2AJ9xfjNsaJDLlCwpgXJKRTDCgn6ZeACgpiNP
KZeqbZneCMm3vYpz9Q6+Ty0=
=7iPt
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]