cppcheck analysis of mdadm_3.1.4-1+8efb9d1.dsc
- ./Assemble.c:140 [error] - Uninitialized variable: vers
- ./Build.c:289 [error] - Resource leak: bitmap_fd
- ./Create.c:930 [error] - Resource leak: bitmap_fd
- ./Detail.c:559 [error] - Common realloc mistake: "devices" nulled but not freed upon failure
- ./Manage.c:236 [error] - Possible null pointer dereference: mdi - otherwise it is redundant to check if mdi is null at line 259
- ./Manage.c:242 [error] - Possible null pointer dereference: mdi - otherwise it is redundant to check if mdi is null at line 259
- ./config.c:155 [error] - Common realloc mistake: "word" nulled but not freed upon failure
- ./mdopen.c:41 [error] - Uninitialized variable: major_num
- ./mdopen.c:42 [error] - Uninitialized variable: minor_num
- ./mdopen.c:43 [error] - Uninitialized variable: odig
- ./super-intel.c:3809 [error] - Possible null pointer dereference: super - otherwise it is redundant to check if super is null at line 3817
- ./super-intel.c:4239 [error] - snprintf size is out of bounds
- ./super-intel.c:5393 [error] - snprintf size is out of bounds
- ./super-intel.c:3385 [error] - snprintf size is out of bounds
- ./super-intel.c:4232 [error] - snprintf size is out of bounds
- ./super-intel.c:4455 [error] - Uninitialized variable: insync
- ./super0.c:1033 [error] - Uninitialized variable: abuf
- ./util.c:282 [error] - Memory leak: m
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 23:58:28 +0000, based on results by cppcheck 1.46