[ http://issues.apache.org/jira/browse/AXIS2C-77?page=all ]
nandika jayawardana closed AXIS2C-77:
-------------------------------------
Resolution: Fixed
(Visible to axiscpp-developers)
> add header block in soap header uses a local variable as a hash key
> -------------------------------------------------------------------
>
> Key: AXIS2C-77
> URL: http://issues.apache.org/jira/browse/AXIS2C-77
> Project: Axis2-C
> Type: Bug
> Components: xml/soap
> Versions: Current (Nightly)
> Reporter: Samisa Abeysinghe
> Assignee: nandika jayawardana
>
> in axis2_soap_header_add_header_block we have:
> axis2_char_t key[10];
> sprintf(key,"%d", header_impl->hbnumber++);
> axis2_hash_set(header_impl->header_blocks,
> key , AXIS2_HASH_KEY_STRING, header_block);
> The moment axis2_soap_header_add_header_block returns, key will be no more
> and thus the hash table contains garbage as key.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira