Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
linux fc6
Description
This a new memory leak in the http receiver, the request being received is:
POST /axis2/services/zigbee HTTP/1.1
User-Agent: Axis2C/1.4.0
Content-Length: 337
Content-Type: application/soap+xml;charset=UTF-8;action="SetDeviceName"
Host: localhost:9090
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body><n:SetDeviceNameRequestParam xmlns:n="http://www.telsey.com/DPWS/2008/03/Zigbee"><n:eui64Address>000d6f0000096da5</n:eui64Address><n:name>pippo</n:name></n:SetDeviceNameRequestParam></soapenv:Body></soapenv:Envelope>
Here is the valgrind output:
==23841== 30 (16 direct, 14 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 34
==23841== at 0x4005858: malloc (vg_replace_malloc.c:207)
==23841== by 0x40517EC: axutil_string_create (string.c:52)
==23841== by 0x4019F7B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:464)
==23841== by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
==23841== by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==23841== by 0x405EEE5: dummy_worker (thread_unix.c:93)
==23841== by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==23841== by 0x71323D: clone (in /lib/libc-2.5.so)
==23841==
==23841==
==23841== 31 bytes in 2 blocks are definitely lost in loss record 27 of 34
==23841== at 0x4005858: malloc (vg_replace_malloc.c:207)
==23841== by 0x4051258: axutil_strdup (string.c:282)
==23841== by 0x4017D96: axis2_http_transport_utils_get_value_from_content_type (http_transport_utils.c:2191)
==23841== by 0x40199D0: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:319)
==23841== by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
==23841== by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==23841== by 0x405EEE5: dummy_worker (thread_unix.c:93)
==23841== by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==23841== by 0x71323D: clone (in /lib/libc-2.5.so)