Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.