libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.4.6-35-gf003a1f


From: Pavel Raiskup
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.6-35-gf003a1f
Date: Mon, 16 Jan 2017 13:46:09 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f003a1f96e67f3cb823c1c7081efab445e3f0c83 (commit)
      from  08c5524fb24b923ad91c2bdca836f1eafa56fd6c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f003a1f96e67f3cb823c1c7081efab445e3f0c83
Author: Pavel Raiskup <address@hidden>
Date:   Mon Jan 16 12:45:03 2017 +0100

    libltdl: handle ENOMEM in lt_dlloader_remove()
    
    Reported by Alexander Hass.
    
    * libltdl/lt_dlloader.c (lt_dlloader_remove): Detect NULL return
    value from lt_dlinterface_register.

-----------------------------------------------------------------------

Summary of changes:
 NO-THANKS             |    1 +
 libltdl/lt_dlloader.c |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/NO-THANKS b/NO-THANKS
index 5aba7c8..c59662c 100644
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -30,6 +30,7 @@ note to the bug-report mailing list (as seen at end of e.g., 
libtool --help).
 Akim Demaille                  address@hidden
 !Albert Chin
 Albert Chin-A-Young            address@hidden
+Alexander Hass                 address@hidden
 Andreas Schwab                 address@hidden
 Brian Barrett                  address@hidden
 !Brian W. Barret
diff --git a/libltdl/lt_dlloader.c b/libltdl/lt_dlloader.c
index ba103c0..dbc645d 100644
--- a/libltdl/lt_dlloader.c
+++ b/libltdl/lt_dlloader.c
@@ -168,6 +168,10 @@ lt_dlloader_remove (const char *name)
 
   /* Fail if there are any open modules that use this loader.  */
   iface = lt_dlinterface_register (id_string, NULL);
+  if (!iface)
+    /* No memory, error is already set. */
+    return 0;
+
   while ((handle = lt_dlhandle_iterate (iface, handle)))
     {
       lt_dlhandle cur = handle;


hooks/post-receive
-- 
GNU Libtool



reply via email to

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