cppcheck analysis of openmx_3.2.4.dfsg-3.dsc
- ./source/Band_DFT_kpath.c:548 [error] - Memory leak: M1
- ./source/Band_DFT_kpath.c:548 [error] - Memory leak: koS
- ./source/Band_DFT_kpath.c:548 [error] - Memory leak: ik_list
- ./source/Band_DFT_kpath.c:548 [error] - Memory leak: i_perk_list
- ./source/Band_DFT_kpath.c:1161 [error] - Memory leak: M1
- ./source/Band_DFT_kpath.c:1161 [error] - Memory leak: koS
- ./source/Band_DFT_kpath.c:1161 [error] - Memory leak: ik_list
- ./source/Band_DFT_kpath.c:1161 [error] - Memory leak: i_perk_list
- ./source/DosMain.c:1380 [error] - Resource leak: fp_Dos
- ./source/Lapack_LU_inverse.c:78 [error] - Memory leak: B
- ./source/Lapack_LU_inverse.c:78 [error] - Memory leak: C
- ./source/Mio_tester.c:168 [error] - Memory leak: V1
- ./source/RecursionS_D.c:1846 [error] - Invalid number of character (() when these macros are defined: ''.
- ./source/SetPara_DFT.c:1008 [error] - Memory leak: phi2
- ./source/TRAN_Print.c:148 [error] - Resource leak: fp
- ./source/Truncated_System.c:764 [error] - Data is allocated but not initialized: Z
- ./source/Truncated_System.c:764 [error] - Data is allocated but not initialized: WORK
- ./source/Truncated_System.c:764 [error] - Data is allocated but not initialized: IWORK
- ./source/Truncated_System.c:765 [error] - Data is allocated but not initialized: IFAIL
- ./source/bandgnu13.c:349 [error] - Undefined behaviour: fname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./source/polB.c:956 [error] - Memory leak: AB_Nk2
- ./source/polB.c:956 [error] - Memory leak: AB_Nk3
- ./source/test2.c:150 [error] - Memory leak: T_KGrids1
- ./source/test2.c:150 [error] - Memory leak: T_KGrids2
- ./source/test2.c:150 [error] - Memory leak: T_KGrids3
- ./source/test2.c:150 [error] - Memory leak: Ti_KGrids1
- ./source/test2.c:150 [error] - Memory leak: Tj_KGrids2
- ./source/test2.c:150 [error] - Memory leak: Tk_KGrids3
- ./source/test2.c:150 [error] - Memory leak: KGrids1
- ./source/test2.c:150 [error] - Memory leak: KGrids2
- ./source/test2.c:150 [error] - Memory leak: KGrids3
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 23:58:20 +0000, based on results by cppcheck 1.46