[Bug libgcj/62068] New: libjava/prims.cc:807: possible missing call to va_end ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 8 18:05:00 GMT 2014
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.
More information about the Java-prs
mailing list