Double free in generated ADB code
---------------------------------
Key: AXIS2C-1055
URL: https://issues.apache.org/jira/browse/AXIS2C-1055
Project: Axis2-C
Issue Type: Bug
Components: code generation
Affects Versions: Current (Nightly)
Reporter: Sam Meder
I'm getting core dumps due to code generated from the latest nightlies. I've
tracked it down to what I believe is a bad free. On line 4065 of
CADBBeanTemplateSource.xsl there is the following code:
<xsl:if test="$anon or $istype">
axutil_stream_write(stream, env, start_input_str,
start_input_str_len);
AXIS2_FREE(env->allocator,end_input_str);
</xsl:if>
I believe that should be
<xsl:if test="$anon or $istype">
axutil_stream_write(stream, env, start_input_str,
start_input_str_len);
AXIS2_FREE(env->allocator,start_input_str);
</xsl:if>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]