cppcheck analysis of git_1.7.1-1.1.dsc
- ./builtin/cat-file.c:155 [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:197 [error] - instance of "sigaction" object destroyed immediately
- ./builtin/rev-list.c:389 [error] - Uninitialized variable: reaches
- ./builtin/rev-list.c:389 [error] - Uninitialized variable: all
- ./combine-diff.c:933 [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:55 [error] - Uninitialized variable: left
- ./submodule.c:55 [error] - Uninitialized variable: right
- ./test-delta.c:33 [error] - Resource leak: fd
- ./transport.c:106 [error] - Uninitialized variable: cmp
- ./wt-status.c:145 [error] - Uninitialized variable: status
- ./xdiff-interface.c:215 [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 06:58:04 +0000, based on results by cppcheck 1.46