cppcheck analysis of mtools_4.0.12-1.dsc
- msdos.h:71 [error] - Array 'infoSector . signature3[2]' index 3 out of bounds
- msdos.h:72 [error] - Array 'infoSector . signature3[2]' index 2 out of bounds
- ./floppyd.c:1003 [error] - Memory leak: server_hostname
- ./mainloop.c:152 [error] - Uninitialized variable: isdir
- ./mclasserase.c:219 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./mformat.c:1165 [error] - Resource leak: fd
- ./minfo.c:197 [error] - Data is allocated but not initialized: buf
- ./mpartition.c:535 [error] - Resource leak: fd
- ./mpartition.c:313 [error] - Uninitialized variable: buf
- ./mzip.c:465 [error] - Dangerous usage of 'first_try' (strncpy doesn't always 0-terminate it)
- ./plain_io.c:698 [error] - Uninitialized variable: buf
- ./unixdir.c:101 [error] - Resource leak: fd
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:17:10 +0000, based on results by cppcheck 1.46