cppcheck analysis of glide_2002.04.10ds1-5.dsc
- ./glide2x/cvg/glide/tests/test25.c:476 [error] - Buffer access out-of-bounds: localVerts
- ./glide2x/cvg/glide/tests/test25.c:687 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/cvg/glide/tests/test25.c:693 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/cvg/init/parse.c:323 [error] - Undefined behaviour: filename 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.
- ./glide2x/cvg/init/parse.c:325 [error] - Undefined behaviour: filename 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.
- ./glide2x/cvg/init/parse.c:129 [error] - Undefined behaviour: filename 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.
- ./glide2x/cvg/init/parse.c:131 [error] - Undefined behaviour: filename 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.
- ./glide2x/h3/glide/tests/test25.c:476 [error] - Buffer access out-of-bounds: localVerts
- ./glide2x/h3/glide/tests/test25.c:687 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/h3/glide/tests/test25.c:693 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/h3/minihwc/linhwc.c:147 [error] - Resource leak: file
- ./glide2x/sst1/glide/src/g3df.c:148 [error] - Resource leak: image_file
- ./glide2x/sst1/glide/src/g3df.c:433 [error] - Resource leak: image_file
- ./glide2x/sst1/glide/tests/test25.c:476 [error] - Buffer access out-of-bounds: localVerts
- ./glide2x/sst1/glide/tests/test25.c:687 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/sst1/glide/tests/test25.c:693 [error] - Array 'localVerts[3]' index 3 out of bounds
- ./glide2x/sst1/glide/tests/test26.c:174 [error] - Memory leak: image
- ./glide2x/sst1/glide/tests/test26.c:174 [error] - Memory leak: readImage
- ./glide2x/sst1/init/init96/init96.c:1824 [error] - Null pointer dereference
- ./glide2x/sst1/init/initvg/parse.c:193 [error] - Undefined behaviour: filename 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.
- ./glide2x/sst1/init/initvg/parse.c:195 [error] - Undefined behaviour: filename 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.
- ./glide2x/sst1/init/initvg/parse.c:102 [error] - Undefined behaviour: filename 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.
- ./glide2x/sst1/init/initvg/parse.c:104 [error] - Undefined behaviour: filename 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.
- ./glide3x/cvg/glide3/tests/test26.c:147 [error] - Memory leak: image
- ./glide3x/cvg/glide3/tests/test26.c:147 [error] - Memory leak: readImage
- ./glide3x/cvg/glide3/tests/test31.c:314 [error] - Array 'vtxList[4]' index 4 out of bounds
- ./glide3x/cvg/glide3/tests/test31.c:315 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/cvg/glide3/tests/test31.c:325 [error] - Array 'vtxList[4]' index 4 out of bounds
- ./glide3x/cvg/glide3/tests/test31.c:326 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/cvg/init/parse.c:317 [error] - Undefined behaviour: filename 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.
- ./glide3x/cvg/init/parse.c:319 [error] - Undefined behaviour: filename 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.
- ./glide3x/cvg/init/parse.c:122 [error] - Undefined behaviour: filename 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.
- ./glide3x/cvg/init/parse.c:124 [error] - Undefined behaviour: filename 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.
- ./glide3x/h3/glide3/tests/test26.c:147 [error] - Memory leak: image
- ./glide3x/h3/glide3/tests/test26.c:147 [error] - Memory leak: readImage
- ./glide3x/h3/glide3/tests/test31.c:314 [error] - Array 'vtxList[4]' index 4 out of bounds
- ./glide3x/h3/glide3/tests/test31.c:315 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/h3/glide3/tests/test31.c:325 [error] - Array 'vtxList[4]' index 4 out of bounds
- ./glide3x/h3/glide3/tests/test31.c:326 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/h5/glide3/tests/test09.c:179 [error] - Buffer access out-of-bounds: str
- ./glide3x/h5/glide3/tests/test09.c:182 [error] - Buffer access out-of-bounds: str
- ./glide3x/h5/glide3/tests/test26.c:168 [error] - Memory leak: image
- ./glide3x/h5/glide3/tests/test26.c:168 [error] - Memory leak: readImage
- ./glide3x/h5/glide3/tests/test31.c:336 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/h5/glide3/tests/test31.c:346 [error] - Array 'vtxList[4]' index 4 out of bounds
- ./glide3x/h5/glide3/tests/test31.c:347 [error] - Array 'vtxList[4]' index 5 out of bounds
- ./glide3x/h5/glide3/tests/tlib.c:1369 [error] - Resource leak: stream
- ./glide3x/h5/glide3/tests/tlibmerged.c:1369 [error] - Resource leak: stream
- ./glide3x/h5/minihwc/linhwc.c:180 [error] - Resource leak: file
- ./swlibs/texus2/lib/write.c:361 [error] - Deallocating a deallocated pointer: stream
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 23:58:07 +0000, based on results by cppcheck 1.46