cppcheck analysis of tuxmath_1.8.0-3.dsc
- ./src/fileops.c:965 [error] - Common realloc mistake: "user_data_dir" nulled but not freed upon failure
- ./src/fileops.c:915 [error] - Dangerous usage of 'menu_entries_file' (strncpy doesn't always 0-terminate it)
- ./src/fileops.c:939 [error] - Dangerous usage of 'user_login_questions_file' (strncpy doesn't always 0-terminate it)
- ./src/scandir.c:120 [error] - Memory leak: p
- ./src/tuxmathadmin.c:588 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./src/tuxmathadmin.c:717 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./src/tuxmathadmin.c:524 [error] - Resource leak: fp
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:19:28 +0000, based on results by cppcheck 1.46