cppcheck analysis of voxbo_1.8.5~svn1172-1.dsc
- ./crunch/norm.cpp:364 [error] - Uninitialized variable: tmp
- ./crunch/norm_brainwarp.cpp:628 [error] - Mismatching allocation and deallocation: alpha
- ./crunch/norm_brainwarp.cpp:629 [error] - Mismatching allocation and deallocation: beta
- ./crunch/norm_brainwarp.cpp:630 [error] - Mismatching allocation and deallocation: var
- ./db_import/add_aal_name.cpp:68 [error] - Resource leak: ifp
- ./db_import/add_aal_relation.cpp:74 [error] - Resource leak: ifp
- ./db_import/readBrodmann.cpp:76 [error] - Resource leak: ifp
- ./db_import/readMarianna.cpp:85 [error] - Resource leak: ifp
- ./getput/getdata.cpp:512 [error] - Memory leak: data
- ./getput/getdata.cpp:720 [error] - Resource leak: f
- ./getput/getdata.cpp:731 [error] - Resource leak: f
- ./getput/getdata.cpp:733 [error] - Resource leak: f
- ./getput/getdata.cpp:770 [error] - Resource leak: f
- ./getput/getdata.cpp:793 [error] - Resource leak: f
- ./getput/getdata.cpp:814 [error] - Resource leak: f
- ./getput/getdata.cpp:819 [error] - Resource leak: f
- ./getput/getdata.cpp:823 [error] - Resource leak: f
- ./getput/getdata.cpp:826 [error] - Resource leak: f
- ./getput/getdata.cpp:653 [error] - Dereferencing 'c' after it is deallocated / released
- ./getput/putdata.cpp:390 [error] - Resource leak: f
- ./getput/putdata.cpp:549 [error] - Memory leak: chunk
- ./lib/dicom.cpp:103 [error] - Resource leak: ifile
- ./lib/dicom.cpp:1038 [error] - Resource leak: ifile
- ./lib/dicom.cpp:1419 [error] - Resource leak: ifile
- ./lib/dicom.cpp:1814 [error] - Resource leak: ifile
- ./lib/dicom.cpp:601 [error] - Invalid radix in call to strtol or strtoul. Must be 0 or 2-36
- ./lib/ff_da.cpp:136 [error] - Resource leak: fp
- ./lib/filecheck.cpp:388 [error] - Returning pointer to auto variable
- ./lib/filecheck.cpp:412 [error] - Returning pointer to auto variable
- ./lib/filecheck.cpp:445 [error] - Returning pointer to auto variable
- ./lib/makestatcub.cpp:687 [error] - Possible null pointer dereference: Betas - otherwise it is redundant to check if Betas is null at line 718
- ./lib/makestatcub.cpp:688 [error] - Possible null pointer dereference: isoBetas - otherwise it is redundant to check if isoBetas is null at line 716
- ./lib/makestatcub.cpp:689 [error] - Possible null pointer dereference: TisoBetasInvVarIsoBetas - otherwise it is redundant to check if TisoBetasInvVarIsoBetas is null at line 717
- ./lib/makestatcub.cpp:689 [error] - Possible null pointer dereference: isoBetas - otherwise it is redundant to check if isoBetas is null at line 716
- ./lib/statthreshold.cpp:773 [error] - Possible null pointer dereference: pval_rf
- ./lib/statthreshold.cpp:784 [error] - Possible null pointer dereference: pval_bon
- ./lib/statthreshold.cpp:856 [error] - Possible null pointer dereference: rhoRow
- ./lib/statthreshold.cpp:867 [error] - Possible null pointer dereference: pval1
- ./lib/statthreshold.cpp:1158 [error] - Possible null pointer dereference: yval
- ./lib/statthreshold.cpp:1117 [error] - Mismatching allocation and deallocation: omegaComplex
- ./lib/statthreshold.cpp:1208 [error] - Memory leak: prodfft
- ./lib/vbexecdef.cpp:92 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./munge/vbse.cpp:184 [error] - Memory leak: rssq
- ./scheduler/vbsingle.cpp:489 [error] - Possible null pointer dereference: j
- ./scheduler/voxbo.cpp:1099 [error] - Resource leak: numfile
- ./stand_alone/perm.cpp:120 [error] - Mismatching allocation and deallocation: signPerm
- ./stand_alone/perm.cpp:241 [error] - Mismatching allocation and deallocation: signPerm
- ./stand_alone/sliceacq.cpp:312 [error] - Division by zero
- ./stand_alone/tesjoin.cpp:753 [error] - Resource leak: pFile
- ./vbsequence/mainwindow.cpp:630 [error] - Possible null pointer dereference: action - otherwise it is redundant to check if action is null at line 632
- ./vbsequence/standalone_demo.cpp:28 [error] - Invalid number of character (() when these macros are defined: ''.
- ./vbsequence/vbsequenceview.cpp:248 [error] - Possible null pointer dereference: action - otherwise it is redundant to check if action is null at line 250
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:44 +0000, based on results by cppcheck 1.46