cppcheck analysis of readline5_5.2-7.dsc
- ./complete.c:1005 [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:1506 [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 Tue, 21 Dec 2010 23:58:43 +0000, based on results by cppcheck 1.46