]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix memory leak in stdlib/isomac.c
authorAllan McRae <allan@archlinux.org>
Mon, 9 Sep 2013 12:52:58 +0000 (22:52 +1000)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 31 Oct 2013 15:13:50 +0000 (10:13 -0500)
ChangeLog
NEWS
stdlib/isomac.c

index 68909c8ec96ad60def6d084372508695ad84378d..b9239a5a23a0840c8df668d4f1253e4266f0f92f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-09-09  Allan McRae  <allan@archlinux.org>
 
+       [BZ #15893]
+       * stdlib/isomac.c (get_null_defines): Fix memory leak.
+
        [BZ #15892]
        * libio/memstream.c (open_memstream): Fix memory leak.
        * libio/wmemstream.c (open_wmemstream): Likewise.
diff --git a/NEWS b/NEWS
index 90ff9932e5670b86085b359918ab6f3006a19b58..9d7ca623c9ff186437de4185d7e044128c4e0ea3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,7 +22,8 @@ Version 2.18
   15423, 15424, 15426, 15427, 15429, 15431, 15432, 15441, 15442, 15448,
   15465, 15480, 15485, 15488, 15490, 15492, 15493, 15497, 15506, 15522,
   15529, 15532, 15536, 15553, 15577, 15583, 15618, 15627, 15631, 15654,
-  15655, 15666, 15667, 15674, 15711, 15755, 15759, 15797, 15892, 15895.
+  15655, 15666, 15667, 15674, 15711, 15755, 15759, 15797, 15892, 15893,
+  15895.
 
 * CVE-2013-2207 Incorrectly granting access to another user's pseudo-terminal
   has been fixed by disabling the use of pt_chown (Bugzilla #15755).
index 2c9009b328c43feb209e446fa19952b78883a0cb..621b5154d2b7be59092aac1909b0242aa056a2e9 100644 (file)
@@ -263,6 +263,7 @@ get_null_defines (void)
   if (system (command))
     {
       puts ("system() returned nonzero");
+      free (command);
       return NULL;
     }
   free (command);