public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/62068] New: libjava/prims.cc:807: possible missing call to va_end ?
@ 2014-08-08 18:05 dcb314 at hotmail dot com
  2014-08-08 18:50 ` [Bug libgcj/62068] " tromey at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2014-08-08 18:05 UTC (permalink / raw)
  To: java-prs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62068

            Bug ID: 62068
           Summary: libjava/prims.cc:807: possible missing call to va_end
                    ?
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libgcj
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

[trunk/libjava/prims.cc:807]: (error) va_list 'args' was opened but not closed
by va_end().

  for (int i = 0; i < dimensions; ++i)
    {
      jint size = va_arg (args, jint);
      if (size < 0)
    throw new java::lang::NegativeArraySizeException;

Suggest add call to va_end just before throw.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-08 20:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08 18:05 [Bug libgcj/62068] New: libjava/prims.cc:807: possible missing call to va_end ? dcb314 at hotmail dot com
2014-08-08 18:50 ` [Bug libgcj/62068] " tromey at gcc dot gnu.org
2014-08-08 19:46 ` schwab@linux-m68k.org
2014-08-08 19:57 ` tromey at gcc dot gnu.org
2014-08-08 20:12 ` schwab@linux-m68k.org
2014-08-08 20:17 ` tromey at gcc dot gnu.org
2014-08-08 20:26 ` dcb314 at hotmail dot com
2014-08-08 20:55 ` 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).