cppcheck analysis of axis2c_1.6.0-1.dsc
- ./src/core/clientapi/op_client.c:720 [error] - Possible null pointer dereference: th_env - otherwise it is redundant to check if th_env is null at line 724
- ./src/core/clientapi/op_client.c:722 [error] - Possible null pointer dereference: th_env - otherwise it is redundant to check if th_env is null at line 724
- ./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c:61 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 68
- ./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c:62 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 68
- ./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c:63 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 68
- ./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c:64 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 68
- ./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c:66 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 68
- ./src/core/transport/http/receiver/http_svr_thread.c:294 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 296
- ./src/core/transport/http/sender/ssl/ssl_utils.c:184 [error] - Possible null pointer dereference: peer_cert - otherwise it is redundant to check if peer_cert is null at line 186
- ./src/core/transport/http/server/apache2/mod_axis2.c:645 [error] - Possible null pointer dereference: allocator - otherwise it is redundant to check if allocator is null at line 647
- ./src/core/transport/http/server/simple_axis2_server/http_server_main.c:279 [error] - Possible null pointer dereference: system_env
- ./src/core/transport/tcp/receiver/tcp_svr_thread.c:291 [error] - Possible null pointer dereference: thread_env - otherwise it is redundant to check if thread_env is null at line 293
- ./test/core/clientapi/test_client.c:145 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:147 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:148 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:151 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:153 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:154 [error] - Buffer access out-of-bounds: buffer_l
- ./test/core/clientapi/test_client.c:130 [error] - Memory leak: buffer
- ./test/core/clientapi/test_client.c:181 [error] - Resource leak: fd
- ./tools/tcpmon/src/tcpmon.c:122 [error] - Possible null pointer dereference: env - otherwise it is redundant to check if env is null at line 123
- ./tools/tcpmon/src/tcpmon.c:1000 [error] - Possible null pointer dereference: system_env
- ./tools/tcpmon/src/tcpmon.c:563 [error] - Resource leak: file
- ./tools/tcpmon/src/util.c:531 [error] - Common realloc mistake: "str_return" nulled but not freed upon failure
- ./tools/tcpmon/src/util.c:532 [error] - Common realloc mistake: "str_tmp" nulled but not freed upon failure
- ./util/src/date_time.c:1034 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1035 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1036 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1037 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1038 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1039 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1040 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1041 [error] - Possible null pointer dereference: date_time
- ./util/src/date_time.c:1043 [error] - Possible null pointer dereference: date_time
- ./util/src/minizip/archive_extract.c:274 [error] - Buffer access out-of-bounds: filename_try
- ./util/src/minizip/unzip.c:547 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 548
- ./util/src/minizip/unzip.c:1144 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1146
- ./util/src/properties.c:208 [error] - Resource leak: input
- ./util/test/allocator/allocator_test.c:24 [error] - Resource leak: in
- ./util/test/allocator/allocator_test.c:24 [error] - Resource leak: out
- ./util/test/properties/property_test.c:29 [error] - Resource leak: input
- ./util/test/properties/property_test.c:29 [error] - Resource leak: output
- ./util/test/util/test_util.c:275 [error] - Buffer access out-of-bounds: msg
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:12:34 +0000, based on results by cppcheck 1.46