When message level policies are attached, the axis2server segfaults
-------------------------------------------------------------------
Key: RAMPARTC-26
URL: https://issues.apache.org/jira/browse/RAMPARTC-26
Project: Rampart/C
Issue Type: Bug
Environment: Windows XP
Reporter: Evanthika Amarasiri
Assignee: Davanum Srinivas
1. When message level policies are attached as below, the axis2server segfaults
***************************************************************************************************************************************************************************************************************************
<operation name="echoString">
<!--messageReceiver class="axis2_receivers" /-->
<parameter
name="wsamapping">http://example.com/ws/2004/09/policy/Test/EchoRequest</parameter>
<message label="in">
<wsp:Policy wsu:Id="SigEncrMessage"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<sp:EncryptedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
</sp:EncryptedParts>
<sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
</sp:SignedParts>
</wsp:Policy>
</message>
<message label="out">
<wsp:Policy wsu:Id="SigEncrMessage"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<sp:EncryptedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
</sp:EncryptedParts>
<sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
</sp:SignedParts>
</wsp:Policy>
</message>
</operation>
***************************************************************************************************************************************************************************************************************************
2. When executing the sample a segfault occurs
***************************************************************************************************************************************************************************************************************************
neethi.dll!neethi_exactlyone_add_policy_components(neethi_exactlyone_t *
exactlyone=0x00000000, axutil_array_list * arraylist=0x00f77610, const
axutil_env * env=0x00f6e9c0) Line 109 + 0xe bytes
***************************************************************************************************************************************************************************************************************************
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.