cppcheck analysis of gtk-gnutella_0.96.8-1.dsc
- ./src/core/downloads.c:7708 [error] - instance of "download_request" object destroyed immediately
- ./src/core/downloads.c:11295 [error] - instance of "download_request" object destroyed immediately
- ./src/core/http.c:625 [error] - Dangerous assignment - function parameter takes the address of a local auto-variable. Local auto-variables are reserved from the stack. And the stack is freed when the function ends. So the pointer to a local variable is invalid after the function ends.
- ./src/core/http.c:626 [error] - Dangerous assignment - function parameter takes the address of a local auto-variable. Local auto-variables are reserved from the stack. And the stack is freed when the function ends. So the pointer to a local variable is invalid after the function ends.
- ./src/core/http.c:2700 [error] - Uninitialized variable: req
- ./src/sdbm/dba.c:51 [error] - Resource leak: pagf
- ./src/sdbm/dba.c:51 [error] - Resource leak: datf
- ./src/sdbm/dba.c:51 [error] - Memory leak: name
- ./src/sdbm/dbd.c:40 [error] - Resource leak: pagf
- ./src/shell/horizon.c:191 [error] - Uninitialized variable: all
- ./src/ui/gtk/filter_core.c:1945 [error] - Memory leak: shadow
- ./src/ui/gtk/filter_core.c:1926 [error] - Memory leak: target_shadow
- ./src/ui/gtk/filter_core.c:2014 [error] - Memory leak: shadow
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:14:33 +0000, based on results by cppcheck 1.46