cppcheck analysis of libcgroup_0.35-1.dsc
- ./src/api.c:605 [error] - Memory leak: newrule
- ./src/api.c:1792 [error] - Resource leak: ctrl_file
- ./src/api.c:2655 [error] - Memory leak: entry
- ./src/api.c:3296 [error] - Resource leak: proc_cgroup
- ./src/api.c:2773 [error] - Undefined behaviour: stat_file is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/wrapper.c:166 [error] - Memory leak: cntl_value
- ./src/wrapper.c:203 [error] - Memory leak: cntl_value
- ./src/wrapper.c:243 [error] - Memory leak: cntl_value
- ./tests/setuid.c:79 [error] - Uninitialized variable: ret
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:50:17 +0000, based on results by cppcheck 1.41-modif