This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.22-246-g1f60740


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 C Library master sources".

The branch, master has been updated
       via  1f60740e5f03823a557d1543cf08880a11d719de (commit)
       via  a6d9312c4da740437752b8a73102bf3ca4e3bb3e (commit)
      from  51f24be7ba5d15313ae94f8fb4500ce07cb98c84 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1f60740e5f03823a557d1543cf08880a11d719de

commit 1f60740e5f03823a557d1543cf08880a11d719de
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Jul 7 12:51:17 2015 +0200

    Remove extra va_start/va_end calls (bug 17244)

diff --git a/ChangeLog b/ChangeLog
index aba1bef..9e83d22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-09-16  Andreas Schwab  <schwab@suse.de>
 
+	[BZ #17244]
+	* sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
+	Remove extra va_start/va_end calls.
+
 	[BZ #17243]
 	* posix/execl.c (execl): Add missing va_end.
 	* posix/execle.c (execle): Likewise.
diff --git a/NEWS b/NEWS
index 4a4aba5..65f69c5 100644
--- 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, 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.
+  16519, 16520, 16521, 16734, 16973, 16985, 17243, 17244, 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.
diff --git a/sysdeps/unix/sysv/linux/semctl.c b/sysdeps/unix/sysv/linux/semctl.c
index e794a58..81a33a9 100644
--- a/sysdeps/unix/sysv/linux/semctl.c
+++ b/sysdeps/unix/sysv/linux/semctl.c
@@ -65,8 +65,6 @@ __old_semctl (int semid, int semnum, int cmd, ...)
   union semun arg;
   va_list ap;
 
-  va_start (ap, cmd);
-
   /* Get the argument only if required.  */
   arg.buf = NULL;
   switch (cmd)
@@ -85,8 +83,6 @@ __old_semctl (int semid, int semnum, int cmd, ...)
       break;
     }
 
-  va_end (ap);
-
   return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd,
 			 &arg);
 }
@@ -99,8 +95,6 @@ __new_semctl (int semid, int semnum, int cmd, ...)
   union semun arg;
   va_list ap;
 
-  va_start (ap, cmd);
-
   /* Get the argument only if required.  */
   arg.buf = NULL;
   switch (cmd)
@@ -119,8 +113,6 @@ __new_semctl (int semid, int semnum, int cmd, ...)
       break;
     }
 
-  va_end (ap);
-
   return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd | __IPC_64,
 			 &arg);
 }

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a6d9312c4da740437752b8a73102bf3ca4e3bb3e

commit a6d9312c4da740437752b8a73102bf3ca4e3bb3e
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Jul 7 12:52:51 2015 +0200

    Add missing va_end calls (bug 17243)

diff --git a/ChangeLog b/ChangeLog
index ceedb33..aba1bef 100644
--- 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 702b118..4a4aba5 100644
--- 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.
diff --git a/posix/execl.c b/posix/execl.c
index 7d89192..192b492 100644
--- a/posix/execl.c
+++ b/posix/execl.c
@@ -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)
diff --git a/posix/execle.c b/posix/execle.c
index dff95b2..33cd09f 100644
--- a/posix/execle.c
+++ b/posix/execle.c
@@ -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)
diff --git a/posix/execlp.c b/posix/execlp.c
index 5e45de9..7fc2740 100644
--- a/posix/execlp.c
+++ b/posix/execlp.c
@@ -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)

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

Summary of changes:
 ChangeLog                        |   11 +++++++++++
 NEWS                             |   10 +++++-----
 posix/execl.c                    |    1 +
 posix/execle.c                   |    1 +
 posix/execlp.c                   |    1 +
 sysdeps/unix/sysv/linux/semctl.c |    8 --------
 6 files changed, 19 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]