cppcheck analysis of readline6_6.1-3.dsc
- ./complete.c:1084 [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.
- ./examples/rl-fgets.c:245 [error] - Resource leak: fp
- ./examples/rlptytest.c:66 [error] - Memory leak: buf
- ./vi_mode.c:1580 [error] - Array 'mb[1]' index 1 out of bounds
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:18:23 +0000, based on results by cppcheck 1.46