cppcheck analysis of sofia-sip_1.12.10-4.dsc
- ./libsofia-sip-ua/iptsec/auth_client.c:515 [error] - Possible null pointer dereference: ca - otherwise it is redundant to check if ca is null at line 517
- ./libsofia-sip-ua/iptsec/auth_module.c:1004 [error] - instance of "stat" object destroyed immediately
- ./libsofia-sip-ua/iptsec/test_auth_digest.c:1220 [error] - Resource leak: tmpfd
- ./libsofia-sip-ua/nta/nta.c:4951 [error] - Possible null pointer dereference: leg - otherwise it is redundant to check if leg is null at line 4954
- ./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-client.c:172 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 22 Dec 2010 23:58:12 +0000, based on results by cppcheck 1.46