cppcheck analysis of sip-tester_3.1-3.dsc
- ./auth.c:257 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./auth.c:287 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./auth.c:312 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./auth.c:315 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./auth.c:680 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./call.cpp:1454 [error] - Common realloc mistake: "last_send_msg" nulled but not freed upon failure
- ./call.cpp:3042 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3470 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3484 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3509 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3536 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3567 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:3575 [error] - Common realloc mistake: "last_recv_msg" nulled but not freed upon failure
- ./call.cpp:563 [error] - Undefined behaviour: s is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./call.cpp:566 [error] - Undefined behaviour: s is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./call.cpp:569 [error] - Undefined behaviour: s is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./call.cpp:572 [error] - Undefined behaviour: s is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./call.cpp:3024 [error] - Common realloc mistake: "dialog_authentication" nulled but not freed upon failure
- ./message.cpp:369 [error] - Common realloc mistake: "method" nulled but not freed upon failure
- ./prepare_pcap.c:201 [error] - Uninitialized variable: pkt_index
- ./scenario.cpp:794 [error] - Common realloc mistake: "method_list" nulled but not freed upon failure
- ./scenario.cpp:1168 [error] - Resource leak: f
- ./scenario.cpp:1006 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./scenario.cpp:1012 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./scenario.cpp:1018 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./scenario.cpp:905 [error] - Uninitialized variable: percentile
- ./sipp.cpp:1967 [error] - Common realloc mistake: "command_buffer" nulled but not freed upon failure
- ./sipp.cpp:1975 [error] - Common realloc mistake: "command_buffer" nulled but not freed upon failure
- ./sipp.cpp:3637 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./sipp.cpp:3664 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./sipp.cpp:3681 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./stat.cpp:1074 [error] - Buffer access out-of-bounds
- ./xp_parser.c:193 [error] - Resource leak: f
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:18:38 +0000, based on results by cppcheck 1.46