public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17244] New: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ?
@ 2014-08-08 8:35 dcb314 at hotmail dot com
2015-09-16 12:53 ` [Bug libc/17244] " cvs-commit at gcc dot gnu.org
2015-09-16 13:05 ` schwab@linux-m68k.org
0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2014-08-08 8:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17244
Bug ID: 17244
Summary: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args
muxup ?
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
CC: drepper.fsp at gmail dot com
[trunk/sysdeps/unix/sysv/linux/semctl.c:116]: (error) va_start() or va_copy()
called subsequently on 'ap' without va_end() inbetween.
[trunk/sysdeps/unix/sysv/linux/semctl.c:122]: (error) va_list 'ap' used before
va_start() was called.
For function __new_semctl, one two many calls to va_start
and va_end.
va_start (ap, cmd);
/* Get the argument only if required. */
arg.buf = NULL;
switch (cmd)
{
case SETVAL: /* arg.val */
case GETALL: /* arg.array */
case SETALL:
case IPC_STAT: /* arg.buf */
case IPC_SET:
case SEM_STAT:
case IPC_INFO: /* arg.__buf */
case SEM_INFO:
va_start (ap, cmd);
arg = va_arg (ap, union semun);
va_end (ap);
break;
}
va_end (ap);
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/17244] trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ?
2014-08-08 8:35 [Bug libc/17244] New: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ? dcb314 at hotmail dot com
@ 2015-09-16 12:53 ` cvs-commit at gcc dot gnu.org
2015-09-16 13:05 ` schwab@linux-m68k.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-09-16 12:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17244
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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 -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;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)
https://sourceware.org/git/gitweb.cgi?p=glibc.git;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)
-----------------------------------------------------------------------
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(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/17244] trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ?
2014-08-08 8:35 [Bug libc/17244] New: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ? dcb314 at hotmail dot com
2015-09-16 12:53 ` [Bug libc/17244] " cvs-commit at gcc dot gnu.org
@ 2015-09-16 13:05 ` schwab@linux-m68k.org
1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2015-09-16 13:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17244
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.23
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.23.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-16 13:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08 8:35 [Bug libc/17244] New: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ? dcb314 at hotmail dot com
2015-09-16 12:53 ` [Bug libc/17244] " cvs-commit at gcc dot gnu.org
2015-09-16 13:05 ` schwab@linux-m68k.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).