cppcheck analysis of libyahoo2_1.0.1-1.dsc
- ./src/autoresponder.c:1125 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 1126
- ./src/autoresponder.c:1432 [error] - Possible null pointer dereference: c - otherwise it is redundant to check if c is null at line 1437
- ./src/crypt.c:194 [error] - Mismatching allocation and deallocation: buffer
- ./src/libyahoo2.c:492 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./src/libyahoo2.c:493 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./src/libyahoo2.c:494 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./src/libyahoo2.c:496 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./src/libyahoo2.c:3602 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 3635
- ./src/libyahoo2.c:4939 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4943
- ./src/libyahoo2.c:4940 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4943
- ./src/libyahoo2.c:4941 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4943
- ./src/libyahoo2.c:4942 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4943
- ./src/libyahoo2.c:1505 [error] - Memory leak: cur_group
- ./src/libyahoo2.c:2248 [error] - Memory leak: data
- ./src/libyahoo2.c:3160 [error] - Memory leak: data
- ./src/libyahoo2.c:3934 [error] - Memory leak: yad
- ./src/libyahoo2.c:4705 [error] - Memory leak: data
- ./src/libyahoo2.c:607 [error] - Mismatching allocation and deallocation: value
- ./src/sample_client.c:1096 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 1097
- ./src/sample_client.c:1336 [error] - Possible null pointer dereference: cr - otherwise it is redundant to check if cr is null at line 1339
- ./src/sample_client.c:1706 [error] - Possible null pointer dereference: c - otherwise it is redundant to check if c is null at line 1711
- ./src/yahoo_httplib.c:297 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 299
- ./src/yahoo_httplib.c:298 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 299
- ./src/yahoo_httplib.c:180 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./src/yahoo_httplib.c:220 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./src/yahoo_httplib.c:277 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./src/yahoo_httplib.c:220 [error] - Memory leak: str
- ./src/yahoo_httplib.c:277 [error] - Memory leak: str
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:16:43 +0000, based on results by cppcheck 1.46