]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing va_end calls (bug 17243)
authorAndreas Schwab <schwab@suse.de>
Tue, 7 Jul 2015 10:52:51 +0000 (12:52 +0200)
committerAndreas Schwab <schwab@suse.de>
Wed, 16 Sep 2015 12:51:28 +0000 (14:51 +0200)
ChangeLog
NEWS
posix/execl.c
posix/execle.c
posix/execlp.c

index ceedb33b480b1415ba71cb7b911490836c3fa19d..aba1bef9ec914c9a7456524a0b45a3aae7df343f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-09-16  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #17243]
+       * posix/execl.c (execl): Add missing va_end.
+       * posix/execle.c (execle): Likewise.
+       * posix/execlp.c (execlp): Likewise.
+
 2015-09-15  Roland McGrath  <roland@hack.frob.com>
 
        * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
diff --git a/NEWS b/NEWS
index 702b118e854c668f80888044caf709253c8f675a..4a4aba5d2144063480cc65c45073f1072d46e4fe 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,11 +10,11 @@ Version 2.23
 * The following bugs are resolved with this release:
 
   2542, 2543, 2558, 2898, 14341, 14912, 15786, 15918, 16141, 16296, 16517,
-  16519, 16520, 16521, 16734, 16973, 16985, 17787, 17905, 18084, 18086,
-  18240, 18265, 18370, 18421, 18480, 18525, 18595, 18610, 18618, 18647,
-  18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789, 18790,
-  18795, 18796, 18820, 18823, 18824, 18857, 18863, 18870, 18873, 18875,
-  18887, 18921, 18952, 18961, 18966, 18967.
+  16519, 16520, 16521, 16734, 16973, 16985, 17243, 17787, 17905, 18084,
+  18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595, 18610, 18618,
+  18647, 18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789,
+  18790, 18795, 18796, 18820, 18823, 18824, 18857, 18863, 18870, 18873,
+  18875, 18887, 18921, 18952, 18961, 18966, 18967.
 
 * The obsolete header <regexp.h> has been removed.  Programs that require
   this header must be updated to use <regex.h> instead.
index 7d89192675ffd24e756c8350661a204e4d983469..192b492a8b9abdf2b0c42f5751ee8445a3496527 100644 (file)
@@ -50,6 +50,7 @@ execl (const char *path, const char *arg, ...)
            {
              if (argv != initial_argv)
                free (argv);
+             va_end (args);
              return -1;
            }
          if (argv == initial_argv)
index dff95b2c1f6d1c1316d0ef07582921b59330482c..33cd09f8a3f7a4c8dcb10c92b518a2d8c6d526dd 100644 (file)
@@ -48,6 +48,7 @@ execle (const char *path, const char *arg, ...)
            {
              if (argv != initial_argv)
                free (argv);
+             va_end (args);
              return -1;
            }
          if (argv == initial_argv)
index 5e45de967a096ed565d3f4dfc3b4b6d20d6f4ef6..7fc27405191fc0b3fb0a8da18e15aba13efc27c4 100644 (file)
@@ -50,6 +50,7 @@ execlp (const char *file, const char *arg, ...)
            {
              if (argv != initial_argv)
                free (argv);
+             va_end (args);
              return -1;
            }
          if (argv == initial_argv)