cppcheck analysis of viewmol_2.4.1-17.dsc
- ./source/bio.c:77 [error] - Resource leak: mainfile
- ./source/calcmo.c:254 [error] - Resource leak: infile
- ./source/device.c:111 [error] - Mismatching allocation and deallocation: file
- ./source/init.c:784 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./source/mouseaction.c:970 [error] - Resource leak: tty
- ./source/readmopac.c:68 [error] - Buffer overrun possible for long cmd-line args
- ./source/scandir.c:50 [error] - Resource leak: d
- ./source/viewmol.c:469 [style] - Redundant assignment of "drawLineStipple" in switch
- ./source/viewmol.c:470 [style] - Redundant assignment of "drawLineWidth" in switch
- ./source/viewmol.c:471 [style] - Redundant assignment of "drawDisable" in switch
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:41 +0000, based on results by cppcheck 1.46