cppcheck analysis of sofia-sip_1.12.10-4.dsc
- ./libsofia-sip-ua/iptsec/test_auth_digest.c:1220 [possible error] - Resource leak: tmpfd
- ./libsofia-sip-ua/msg/msg_parser_util.c:1627 [possible error] - Memory leak: temp
- ./libsofia-sip-ua/nta/sl_read_payload.c:69 [possible error] - Resource leak: f
- ./libsofia-sip-ua/nta/test_nta.c:2362 [error] - Undefined behaviour: m1 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.
- ./libsofia-sip-ua/nta/test_nta.c:2375 [error] - Undefined behaviour: m2 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.
- ./libsofia-sip-ua/nta/test_nta.c:2412 [error] - Undefined behaviour: m1 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.
- ./libsofia-sip-ua/nta/test_nta.c:2425 [error] - Undefined behaviour: m2 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.
- ./libsofia-sip-ua/nta/test_nta.c:2498 [error] - Undefined behaviour: m1 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.
- ./libsofia-sip-ua/nta/test_nta.c:2511 [error] - Undefined behaviour: m2 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.
- ./libsofia-sip-ua/nta/test_nta.c:2593 [error] - Undefined behaviour: m1 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.
- ./libsofia-sip-ua/nth/http-server.c:243 [possible error] - Resource leak: f
- ./libsofia-sip-ua/nth/test_nth.c:558 [possible error] - Resource leak: temp
- ./libsofia-sip-ua/sdp/test_sdp.c:136 [error] - Resource leak: f
- ./libsofia-sip-ua/stun/stun_mini.c:253 [error] - Memory leak: a
- ./libsofia-sip-ua/stun/stun_mini.c:382 [error] - Memory leak: errorcode
- ./libsofia-sip-ua/tport/test_tport.c:182 [error] - Possible null pointer dereference: pl - otherwise it is redundant to check if pl is null at line 189
- ./libsofia-sip-ua/tport/tport_sigcomp.c:131 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tests/test_init.c:165 [error] - Resource leak: temp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:02:28 +0000, based on results by cppcheck 1.41-modif