cppcheck analysis of xpuzzles_7.5-1.dsc
- ./barrel/xbarrel.c:379 [error] - Resource leak: lfd
- ./barrel/xbarrel.c:378 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./cubes/CubesS.c:479 [error] - Uninitialized variable: plan
- ./cubes/CubesS.c:501 [error] - Uninitialized variable: plan
- ./cubes/xcubes.c:402 [error] - Resource leak: lfd
- ./cubes/xcubes.c:401 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./dino/xdino.c:410 [error] - Resource leak: lfd
- ./dino/xdino.c:409 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./hexagons/Hexagons.c:748 [error] - Array 'tempList[7]' index -1 out of bounds
- ./hexagons/Hexagons.c:749 [error] - Array 'tempList[7]' index -1 out of bounds
- ./hexagons/Hexagons.c:843 [error] - Array 'tempList[6]' index -1 out of bounds
- ./hexagons/Hexagons.c:845 [error] - Array 'tempList[6]' index -1 out of bounds
- ./hexagons/xhexagons.c:380 [error] - Resource leak: lfd
- ./hexagons/xhexagons.c:379 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./mball/xmball.c:397 [error] - Resource leak: lfd
- ./mball/xmball.c:396 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./mlink/xmlink.c:382 [error] - Resource leak: lfd
- ./mlink/xmlink.c:381 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./oct/xoct.c:418 [error] - Resource leak: lfd
- ./oct/xoct.c:417 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./panex/xpanex.c:397 [error] - Resource leak: lfd
- ./panex/xpanex.c:396 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./pyraminx/xpyraminx.c:437 [error] - Resource leak: lfd
- ./pyraminx/xpyraminx.c:436 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./rubik/xrubik.c:465 [error] - Resource leak: lfd
- ./rubik/xrubik.c:464 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./skewb/xskewb.c:415 [error] - Resource leak: lfd
- ./skewb/xskewb.c:414 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
- ./triangles/Triangles.c:685 [error] - Array 'tempList[4]' index -1 out of bounds
- ./triangles/Triangles.c:686 [error] - Array 'tempList[4]' index -1 out of bounds
- ./triangles/Triangles.c:736 [error] - Array 'tempList[3]' index -1 out of bounds
- ./triangles/Triangles.c:737 [error] - Array 'tempList[3]' index -1 out of bounds
- ./triangles/xtriangles.c:358 [error] - Resource leak: lfd
- ./triangles/xtriangles.c:357 [error] - Dangerous usage of 'lockFile' (strncpy doesn't always 0-terminate it)
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:20:44 +0000, based on results by cppcheck 1.46