cppcheck analysis of git_1.7.2.3-2.2.dsc
- ./builtin/cat-file.c:171 [error] - Uninitialized variable: contents
- ./builtin/fast-export.c:425 [error] - Uninitialized variable: commit
- ./builtin/fetch-pack.c:256 [error] - Uninitialized variable: o
- ./builtin/log.c:226 [error] - instance of "sigaction" object destroyed immediately
- ./builtin/rev-list.c:398 [error] - Uninitialized variable: reaches
- ./builtin/rev-list.c:398 [error] - Uninitialized variable: all
- ./combine-diff.c:932 [error] - Unusual pointer arithmetic
- ./contrib/examples/builtin-fetch--tool.c:419 [error] - Uninitialized variable: lrr_count
- ./fast-import.c:2120 [error] - Uninitialized variable: oe
- ./fast-import.c:2266 [error] - Uninitialized variable: oe
- ./fast-import.c:2426 [error] - Uninitialized variable: e
- ./match-trees.c:75 [error] - Uninitialized variable: elem1
- ./match-trees.c:76 [error] - Uninitialized variable: elem2
- ./match-trees.c:77 [error] - Uninitialized variable: path1
- ./match-trees.c:78 [error] - Uninitialized variable: path2
- ./match-trees.c:79 [error] - Uninitialized variable: mode1
- ./match-trees.c:80 [error] - Uninitialized variable: mode2
- ./merge-recursive.c:1290 [error] - Uninitialized variable: mrtree
- ./progress.c:56 [error] - instance of "sigaction" object destroyed immediately
- ./run-command.c:142 [error] - Uninitialized variable: failed_errno
- ./sha1_file.c:55 [error] - Null pointer dereference
- ./sha1_file.c:60 [error] - Null pointer dereference
- ./sha1_file.c:64 [error] - Null pointer dereference
- ./sha1_file.c:67 [error] - Null pointer dereference
- ./submodule.c:68 [error] - Uninitialized variable: left
- ./submodule.c:68 [error] - Uninitialized variable: right
- ./test-delta.c:33 [error] - Resource leak: fd
- ./transport.c:107 [error] - Uninitialized variable: cmp
- ./wt-status.c:152 [error] - Uninitialized variable: status
- ./xdiff-interface.c:216 [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 Tue, 21 Dec 2010 12:58:04 +0000, based on results by cppcheck 1.46