From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24908 invoked by alias); 8 Aug 2014 08:35:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 24873 invoked by uid 48); 8 Aug 2014 08:35:35 -0000 From: "dcb314 at hotmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/17244] New: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ? Date: Fri, 08 Aug 2014 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00012.txt.bz2 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.