Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
linux fc6
Description
Please run netcat as follows:
nc 127.0.0.1 9090 < echoString.txt
This leads to a segmentation fault:
==17690== Thread 3:
==17690== Invalid read of size 4
==17690== at 0x400F14A: axis2_http_header_create_by_str (http_header.c:64)
==17690== by 0x4012C2B: axis2_simple_http_svr_conn_read_request (simple_http_svr_conn.c:264)
==17690== by 0x316B496B: ???
==17690== Address 0x4371796c is not stack'd, malloc'd or (recently) free'd
==17690==
==17690== Process terminating with default action of signal 11 (SIGSEGV)
==17690== Access not within mapped region at address 0x4371796C
==17690== at 0x400F14A: axis2_http_header_create_by_str (http_header.c:64)
==17690== by 0x4012C2B: axis2_simple_http_svr_conn_read_request (simple_http_svr_conn.c:264)
==17690== by 0x316B496B: ???
==17690==
==17690== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 65 from 1)
==17690== malloc/free: in use at exit: 470,266 bytes in 10,435 blocks.
==17690== malloc/free: 17,660 allocs, 7,225 frees, 1,202,705 bytes allocated.
==17690== For counts of detected errors, rerun with: -v
==17690== searching for pointers to 10,435 not-freed blocks.
==17690== checked 21,606,456 bytes.
==17690==
==17690== LEAK SUMMARY:
==17690== definitely lost: 1,222 bytes in 45 blocks.
==17690== possibly lost: 272 bytes in 2 blocks.
==17690== still reachable: 468,772 bytes in 10,388 blocks.
==17690== suppressed: 0 bytes in 0 blocks.
==17690== Rerun with --leak-check=full to see details of leaked memory.
Killed