cppcheck analysis of rasmol_2.7.5-2.dsc
- ./src/command.c:685 [error] - Mismatching allocation and deallocation: fp
- ./src/command.c:706 [error] - Mismatching allocation and deallocation: fp
- ./src/command.c:1248 [error] - Memory leak: dialsave_old
- ./src/command.c:1248 [error] - Memory leak: dialsave_new
- ./src/languages/footer.c:4 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/languages/footer.utf.c:4 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/languages/header.c:259 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/languages/header.c:259 [error] - Invalid number of character ({) when these macros are defined: 'APPLEMAC'.
- ./src/languages/header.c:259 [error] - Invalid number of character ({) when these macros are defined: 'MSWIN'.
- ./src/languages/header.utf.c:253 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/languages/header.utf.c:253 [error] - Invalid number of character ({) when these macros are defined: 'APPLEMAC'.
- ./src/languages/header.utf.c:253 [error] - Invalid number of character ({) when these macros are defined: 'MSWIN'.
- ./src/maps.c:1886 [error] - Memory leak: map
- ./src/maps.c:1886 [error] - Memory leak: mask
- ./src/maps.c:3210 [error] - Memory leak: map
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'ABSTREE'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'APPLEMAC'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'CEXIOLIB'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'CMNDLINE'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'COMMAND'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'GTKWIN'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'IBMPC'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'MOLECULE'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'MSWIN'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'PIXUTILS'.
- ./src/rastxt.c:488 [error] - Invalid number of character ({) when these macros are defined: 'RENDER'.
- ./src/repres.c:1900 [error] - Division by zero
- ./src/repres.c:1901 [error] - Division by zero
- ./src/repres.c:1902 [error] - Division by zero
- ./src/repres.c:1905 [error] - Division by zero
- ./src/repres.c:1906 [error] - Division by zero
- ./src/repres.c:1907 [error] - Division by zero
- ./src/repres.c:1910 [error] - Division by zero
- ./src/repres.c:1911 [error] - Division by zero
- ./src/repres.c:1912 [error] - Division by zero
- ./src/transfor.c:1700 [error] - Array 'ScaleRef[15]' index 15 out of bounds
- ./src/transfor.c:1701 [error] - Array 'ScaleRef[15]' index 15 out of bounds
- ./src/transfor.c:1702 [error] - Array 'ScaleRef[15]' index 15 out of bounds
- ./src/transfor.c:1703 [error] - Array 'ScaleRef[15]' index 15 out of bounds
- ./src/transfor.c:1704 [error] - Array 'ScaleRef[15]' index 15 out of bounds
- ./src/transfor.c:1700 [error] - Array 'ScaleRef[14]' index 14 out of bounds
- ./src/transfor.c:1701 [error] - Array 'ScaleRef[14]' index 14 out of bounds
- ./src/transfor.c:1702 [error] - Array 'ScaleRef[14]' index 14 out of bounds
- ./src/transfor.c:1703 [error] - Array 'ScaleRef[14]' index 14 out of bounds
- ./src/transfor.c:1704 [error] - Array 'ScaleRef[14]' index 14 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 22:58:13 +0000, based on results by cppcheck 1.46