Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/adanaxisgpl-1.2.5.dfsg.1/targets/empty.MushSecretKeys.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFlex.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorRef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSingleton.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcorePickle.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreGlobalConfig.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreHistory.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoBool.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLOStream.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreGlobalConfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreConfig.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSwitches.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreRegExp.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreIO.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFactory.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcorePickle.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFunction.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorIterator.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreParamList.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreCommand.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAppSignal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFactory.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFail.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/Mushcore.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreOrderedData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorConstIterator.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoClonePtr.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAppSignal.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBuiltinHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInstaller.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAbstractSingleton.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLIStream.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreRegExp.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreScalar.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreIO.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAbstractSingleton.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreDataRef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreLog.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorConstIterator.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInterpreter.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoBool.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreObject.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSingleton.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreOrderedData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreEnvOutput.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBisonDefs.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptor.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInterpreter.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInstaller.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreCommand.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSwitches.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreCommandHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreEnv.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcorePipe.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBuiltinHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreUninstaller.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreScalar.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStreamUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBisonDefs.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreDataRef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorIterator.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFail.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLStream.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptorRef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreLog.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoMonkey.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcorePipe.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoClonePtr.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreScript.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreConfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreUninstaller.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreMaptor.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXML.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFunction.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreVirtualObject.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStreamUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreScript.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreHistory.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLIStream.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreParamList.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLStream.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreCommandHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAutoMonkey.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreVirtualObject.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInfo.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreEnvOutput.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/Mushcore.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreObject.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreInfo.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXML.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreEnv.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreXMLOStream.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFlex.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceCellNoise.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceTileShow.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceGrid.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceGrid.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinLineGenerator.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceCellNoise.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceTileShow.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinTiledMethod1.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinSingular.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceRadial.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkin.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkin.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinTiled.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceTest.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceRadial.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceProc.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinTiled.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinTiledMethod1.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceTest.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinPixelSourceProc.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinLineGenerator.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinSingular.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSkin/MushSkinStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureClip.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLXMLOperators.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureTIFF.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLQuad.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLFont.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRenderable.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureProc.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRender.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLAppSignal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLString.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLUTAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLState.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLFontRef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLModeDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLCommandHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureGIF.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLights.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLightDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureSpr.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLFontRef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureClip.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTexture.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLColour.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLPoint.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLights.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureRef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLightDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLFont.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureProc.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTest1AppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLString.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLQuad.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLModeDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTest.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureTIFF.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureGIF.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLVector.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLUTAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLArray.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTest1AppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLine.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLCommandHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureRef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTexture.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTest.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLArray.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureSpr.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRectangle.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLState.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRectangle.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLVector.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLColour.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLLine.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLXMLOperators.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/SDLAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLPoint.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLRenderable.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/GL/SDLAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushMeshLibrary.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushPie.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushcoreSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushSkin.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushGame.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushGL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushPie.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushModel.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushMesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMustl.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushcoreIO.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushMeshRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushPlatform.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushcore.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMustlGame.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushFile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMedia.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushAppPrefix.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushGame.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushCollision.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/API/mushMushGL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshQuaternionPair.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPreMatrix.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshBox.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshDisplacement.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshTriangularArray.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshFace.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshWorkspace.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Extruder.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4LinkFaceFace.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshWorkspaceBased.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshGroup.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Chunk.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshArray.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshArray.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Face.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshQuaternion.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Material.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchTypes.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshTools.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshTriangularArray.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSelection.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshTools.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshWorkspace.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Maker.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSubdivide.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMushcoreIO.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshQuaternionPair.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatch.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMattress.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Mesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshBox.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshFace.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatch.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Library.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Chunk.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshStitchable.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchTypes.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Library.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4TextureTile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4VertexGenerator.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPostMatrix.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchEnd.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshConnector.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMattress.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4TextureTile.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshDisplacement.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Face.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshWorkspaceBased.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchPipe.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Util.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Base.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshGroup.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshConnector.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPosticity.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshOps.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshVector.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchPipe.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Util.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Maker.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Base.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshDivide.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPatchEnd.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSubdivide.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshVector.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshQuaternion.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshStitchable.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPreMatrix.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPosticity.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshSelection.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshOps.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Material.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4FaceGenerator.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Extruder.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMesh.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshMushcoreIO.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4LinkFaceFace.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshPostMatrix.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4FaceGenerator.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4Mesh.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMeshDivide.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMesh/MushMesh4VertexGenerator.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioChannelDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioSDL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudio.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaKeyboard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioNull.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioSDLChannelDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSoundStream.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSound.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaKeyboard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaRWops.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaJoystick.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSDL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaJoystick.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSoundStream.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioNull.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioChannelDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudio.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioCommandHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioSDL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioSDLChannelDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaAudioCommandHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSDL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaSound.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Media/MediaRWops.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Main/SDLApp/SecondaryMain.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMesh.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRender.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshShader.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshSolid.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderSpec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderSpec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshWireframe.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshDiagnostic.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshSolid.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshShader.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshWireframe.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRender/MushRenderMeshDiagnostic.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLCacheControl.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLJob.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLControl.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLTIFFUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLPixelSource.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLPixelSourceTIFF.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLArrays.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLV.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLMaterial.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLFont.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLMaterial.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLJobRender.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLDraw.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLCamera.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLTIFFUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRubyFont.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLFont.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLBuffers.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRubyFont.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLCacheControl.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLState.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLV.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLAttribs.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLState.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLCamera.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLShader.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLArrays.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLDraw.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLWorkSpec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLWorkspace.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLBuffers.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLProjection.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLAttribs.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLVertexBuffer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLPixelSourceTIFF.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRubyShader.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLPixelSource.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLVertexBuffer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLTexture.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLJobRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLClaimer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLResolverPixelSource.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLControl.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLWorkSpec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLRubyShader.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLProjection.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLClaimer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLShader.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLWorkspace.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLJob.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLResolverPixelSource.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLTexture.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyMesh.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBasePrism.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyMeshLibrary.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyRotation.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyExtruder.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBaseSingleFacet.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBasePrism.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyPost.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyVector.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBase.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBaseSingleFacet.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyMesh.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyDisplacement.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyTools.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyDisplacement.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyRotation.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyTools.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyVector.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyPost.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyExtruder.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBaseWorldSphere.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyMeshLibrary.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBaseWorldSphere.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyBase.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyObj.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/st.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/rubyio.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/defines.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyDataObj.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/signal.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyValue.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyObject.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyFail.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyIntern.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyInstall.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/enum.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/version.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/gc.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/rubyconfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubySTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/env.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyFail.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/math.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/st.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubySTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/erf.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/acosh.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyEmptyObj.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/lex.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyValue.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyMaptorObj.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyObject.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/array.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyEmptyObj.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/random.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/intern.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/inits.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/class.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyInstall.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/node.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/compar.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/rubysig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/version.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyObj.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyIntern.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyExec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/prec.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyExec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/range.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyDataObj.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/struct.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dmyext.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/MushRubyMaptorObj.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionResolver.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionInfo.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionWorkspace.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionList.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionPiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionResolver.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionInfo.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionListEntry.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionPiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionList.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollision.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollision.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionListEntry.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionWorkspace.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushCollision/MushCollisionStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSetup.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSetup.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameConfigDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GamePiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSoundSpec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameControlFrameDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameCommandHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameEvent.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphicModel.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSoundSpec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameEvent.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSoundStreamSpec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameReg.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameType.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameController.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameProtocol.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameType.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameCode.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameQuit.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRouter.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GamePiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameFrameTimer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGlobalConfig.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSoundStreamSpec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameDialogue.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameStringSpec.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphicSprite.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRewards.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameReg.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphicSprite.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRecords.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameControlFrameDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameCode.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameProtocol.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphicModel.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGlobalConfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameQuit.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameFrameTimer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphic.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameBase.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameConfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameCommandHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameDialogue.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameStringSpec.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameController.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRewards.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSwitches.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRouter.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameGraphic.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameConfigDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameBase.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameRecords.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameConfig.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformMiscUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformVideoUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformBoxes.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformInputUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/SDLMain.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformVideoUtilsCommon.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformInputUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformMiscUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformVideoUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformInputUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/PlatformVideoUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformVideoUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/binreloc.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformInputUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushSecret/MushSecretKeys.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileDirEntry.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileDirectory.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileLibrary.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFile.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFilename.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFilename.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileKeys.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileKeys.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileDirectory.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileDirEntry.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileLibrary.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFile.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryExtruder.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryPrism.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibrarySingleFacet.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryWorldSphere.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryVGenExtrude.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibrarySingleFacet.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryMaker.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryFGenExtrude.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryExtrusionContext.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryBase.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryWorldSphere.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryFGenExtrude.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryMaker.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibrary.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryBase.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibrary.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryPrism.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryExtruder.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryExtrusionContext.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryVGenExtrude.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshLibrary/MushMeshLibraryStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisGame.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRubyDeco.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceWorld.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisEvents.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceProjectile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRecords.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRubyWorld.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisMeshLibrary.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPiecePlayer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisConfig.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceProjectile.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisMeshLibrary.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisClient.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceKhazi.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisInfo.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRender.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisGame.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRecords.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceWorld.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisServer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceEffector.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisIntern.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisScanner.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceItem.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceItem.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisSaveData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisClient.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceEffector.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisCommandHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisEvents.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisConfig.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisCommandHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPiecePlayer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisServer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceDeco.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisScanner.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisIntern.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisVolatileData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisLogic.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisSaveData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisLogic.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRubyWorld.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceDeco.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisInfo.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisPieceKhazi.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisVolatileData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisRubyDeco.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePosition.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieForm.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSTL.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieDialogue.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSignalNumeric.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPie.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSignal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePosicity.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePieceSimple.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieForm.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePosition.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieDialogue.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPie.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePieceMobile.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePieceSimple.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSignalNumeric.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePosicity.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSignal.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPieSTL.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePieceMobile.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushPie/MushPiePiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameConfigBase.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageUplinkPiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageWake.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinRequest.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGame.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinRequest.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageWake.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDespatch.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRender.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDialogueUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameBase.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameConfigUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageUplinkPlayer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageControlInfo.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRender.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageCollisionFatal.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDialogue.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJobAdmission.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJob.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameEvents.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJobPlayerCreate.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinDenied.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAxisDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageUplinkPlayer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLinkLocal.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameConfigUtils.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameServer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLogic.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDigest.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAppHandler.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostVolatileData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMailbox.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameConfigBase.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostVolatileData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLinkLocal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLogicLocal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameVolatileData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDialogue.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePlayer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLink.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameReceiver.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAnimPostManip.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameCamera.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameVolatileData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAxisDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageControlInfo.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAnimPostManip.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePlayer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAddress.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameStandard.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinConfirm.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAppHandler.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameKeyDef.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinDenied.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameCamera.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageFire.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameBase.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRefPlayer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLogic.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostSaveData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageCollision.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLink.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePiecePlayer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameSaveData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageUplinkPiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDigest.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRefPiece.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRefPlayer.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRuby.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameClient.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameStandard.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageCollision.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameReceiver.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameEvents.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJobPlayerCreate.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameServer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessage.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageCollisionFatal.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameSaveData.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameAddress.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameIntern.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageJoinConfirm.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRefPiece.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameLogicLocal.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameIntern.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameUtil.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDespatch.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameKeyDef.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameDialogueUtils.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJob.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameClient.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePiecePlayer.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameJobAdmission.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessageFire.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGame.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameHostSaveData.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameRuby.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameUtil.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMailbox.cpp Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGameMessage.h Examining data/adanaxisgpl-1.2.5.dfsg.1/src/MushGame/MushGamePiece.cpp FINAL RESULTS: data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:118:12: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. return chown(path, owner, group); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:120:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. #define chown be_chown data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1730:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(path, (int)mode) < 0) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1794:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(fptr->path, mode) == -1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1860:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (chown(path, args->owner, args->group) < 0) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1935:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (chown(fptr->path, o, g) == -1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2188:18: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. while ((rv = readlink(RSTRING(path)->ptr, buf, size)) == size data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2271:10: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(dst, 0666) == 0 && data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4319:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(fn, st.st_mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2604:1: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. chown(const char *path, int owner, int group) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3536:6: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(path, mode) == -1) { data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:577:10: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. size = readlink (path2, path, buf_size - 1); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:264:5: [5] (misc) SetSecurityDescriptorDacl: Never create NULL ACLs; an attacker can set it to Everyone (Deny All Access), which would even forbid administrator access (CWE-732). SetSecurityDescriptorDacl(&sd, true, NULL, false); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:264:5: [5] (misc) SetSecurityDescriptorDacl: Never create NULL ACLs; an attacker can set it to Everyone (Deny All Access), which would even forbid administrator access (CWE-732). SetSecurityDescriptorDacl(&sd, true, NULL, false); data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLV.h:134:43: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. void *MapBuffer(GLenum target, GLenum access) const { if (m_fpMapBuffer != NULL) return m_fpMapBuffer(target, access); else throw MushcoreLogicFail("MushGLV::MapBuffer"); } data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLV.h:134:115: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. void *MapBuffer(GLenum target, GLenum access) const { if (m_fpMapBuffer != NULL) return m_fpMapBuffer(target, access); else throw MushcoreLogicFail("MushGLV::MapBuffer"); } data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLV.h:187:77: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. typedef GLvoid *(MUSHCORE_APIENTRY *tfpMapBuffer)(GLenum target, GLenum access); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1008:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s%s", base, *base ? m : m+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1039:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s%s%s", base, (BASE) ? "/" : "", dp->d_name); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1048:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(t+3, m); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1057:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s%s%s", base, (BASE) ? "/" : "", dp->d_name); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1084:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s%s", link->path, m); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1243:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(b+(p-t), rbrace+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:152:5: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(*buf, len, FUNCNAME_PATTERN, slash + 1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:168:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmp, *buf);\ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1316:46: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). #define DLN_ERROR() (error = dln_strerror(), strcpy(ALLOCA_N(char, strlen(error) + 1), error)) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1330:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(winfile, file); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1538:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(real_name, buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1575:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fullpath, file); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1621:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fname,file); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1877:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(bp + i, extension[j]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1908:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(vms_filespec, filespec); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:88:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf((char*)buf+n, len-n, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:134:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:233:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(out, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:633:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1083:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1101:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1127:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:1149:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6879:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, feature); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6882:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf+strlen(feature), loadable_ext[i]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:922:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return access(path, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1175:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(StringValueCStr(fname), R_OK) < 0) return Qfalse; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1210:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(StringValueCStr(fname), W_OK) < 0) return Qfalse; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1244:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(StringValueCStr(fname), X_OK) < 0) return Qfalse; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1484:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(RSTRING(fname1)->ptr, 0)) return Qfalse; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:1485:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(RSTRING(fname2)->ptr, 0)) return Qfalse; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2511:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2542:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, pwPtr->pw_dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2576:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2595:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1890:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(environ[i],name); strupr(environ[i]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1891:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(environ[i] + strlen(name),"=%s", value); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2913:9: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. f = popen(pname, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:3228:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(path, RSTRING(fname)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing.h:63:14: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. extern char *crypt _((char *, char *)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing.h:162:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. extern int snprintf __((char *, size_t n, char const *, ...)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing.h:163:12: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. extern int vsnprintf _((char *, size_t n, char const *, va_list)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:505:1: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. crypt(key, setting) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:1200:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(RSTRING(str)->ptr+1, name); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:3211:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:10118:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, name); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:993:20: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). new_argv[1] = strcpy(ALLOCA_N(char, strlen(argv[0]) + 1), argv[0]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1008:5: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(prog, argv); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1059:15: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = system(str); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1069:3: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl(shell, "sh", "-c", str, (char *) NULL); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1071:12: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = system(str); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1077:6: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl("/bin/sh", "sh", "-c", str, (char *)NULL); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1086:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(ss, str); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1128:16: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). new_argv[1] = strcpy(ALLOCA_N(char, strlen(argv[0]) + 1), argv[0]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1189:68: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = shell?spawnl(P_WAIT,shell,"sh","-c",str,(char*)NULL):system(str); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1196:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(s, str); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1523:14: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = system(RSTRING(cmd)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:172:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(newsub, newp); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:195:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(newsub + newl, s + oldl); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:358:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(list->name, mod); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:751:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, format, origargv[0], (int)(unsigned char)*s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:949:7: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(path, argv); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:573:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(nbuf, fbuf, v); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:588:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(s, fbuf, v); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:653:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(t, s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:744:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(&buf[blen], "%*s", need, ""); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:798:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(&buf[blen], fbuf, fval); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4374:18: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. extern char *crypt(); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4384:26: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. result = rb_str_new2(crypt(s, RSTRING(salt)->ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:225:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, suffix); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:242:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, ext); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:511:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf+1, name); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:395:1: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. getlogin() data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:946:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmp, "%s -c \"%.*s\"", shell, len, cmd); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:953:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmp, "%s /c %.*s", shell, len, cmd); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1045:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpcurr->str, path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1414:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(scanname, filename); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1438:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p->start, fd.cFileName); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1461:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(&p->start[idx], fd.cFileName); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1490:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(dirp->dirstr.d_name, dirp->curr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3373:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(*myenv, env); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3522:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(buf, size, format, va); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp:940:4: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(msg, count == 0 ? ", expecting `" : " or `"); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp:941:4: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(msg, yytname[x]); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:207:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system((exeName+" --doc").c_str()) == 0) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:445:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system(launchCommand.c_str()) == 0) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:462:40: [4] (shell) ShellExecute: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int retVal = reinterpret_cast<int>(ShellExecute(NULL, NULL, inFile.c_str(), NULL, NULL, SW_SHOWNORMAL)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:470:40: [4] (shell) ShellExecute: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. retVal = reinterpret_cast<int>(ShellExecute(NULL, NULL, newName.c_str(), NULL, NULL, SW_SHOWNORMAL)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:483:38: [4] (shell) ShellExecute: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int status=reinterpret_cast<int>(ShellExecute(NULL, "open", inURL.c_str(), NULL, NULL, SW_SHOWDEFAULT)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:27:27: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. # define _getcwd(str,len) wcscpy(str,TEXT("")) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:334:2: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. wcscpy (bufp, TEXT("\"")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:336:2: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. wcscpy (bufp+wcslen(bufp), TEXT("\" ")); data/adanaxisgpl-1.2.5.dfsg.1/src/Adanaxis/AdanaxisGame.cpp:371:10: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. std::srand(time(NULL)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushMeshRuby/MushMeshRubyTools.cpp:144:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(MushRubyValue(inArg0).U32()); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:79:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:663:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *dist = getenv("HOME"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:665:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dist = getenv("LOGDIR"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:747:9: [3] (misc) chroot: chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22). Make sure the program immediately chdir("/"), closes file descriptors, and drops root privileges, and that all necessary files (and no more!) are in the new root. if (chroot(RSTRING(path)->ptr) == -1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:97:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:999:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = getenv("DLN_LIBRARY_PATH"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1186:8: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. #undef LoadLibrary data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1187:9: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. #define LoadLibrary LoadLibraryA data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1333:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. if ((handle = LoadLibrary(winfile)) == NULL) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1682:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = getenv(PATH_ENV); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1799:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home = getenv("HOME"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2504:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *dir = getenv("HOME"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1683:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. val = getenv(nam); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1723:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv(nam); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1760:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv(nam); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1788:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path_tainted_p(getenv(PATH_ENV)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2242:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv(s)) return Qtrue; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2310:45: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. RARRAY(indexes)->ptr[i] = env_str_new2(getenv(RSTRING(tmp)->ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2353:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. VALUE val = env_str_new2(getenv(RSTRING(key)->ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:78:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:157:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. newp = getenv("RUBYLIB_PREFIX"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:319:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ruby_incpush(getenv("RUBYLIB")); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:763:38: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (rb_safe_level() == 0 && (s = getenv("RUBYOPT"))) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:817:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *path = getenv("RUBYPATH"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:824:39: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. script = dln_find_file(argv[0], getenv(PATH_ENV)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:683:10: [3] (buffer) getwd: This does not protect against buffer overflows by itself, so use with caution (CWE-120, CWE-20). Use getcwd instead. if (!getwd(buf)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:944:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((shell = getenv("RUBYSHELL")) && (redir = has_redirection(cmd))) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:949:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. else if ((shell = getenv("COMSPEC")) && data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1635:15: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. MTHREAD_ONLY(EnterCriticalSection(&(_pioinfo(fh)->lock))); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3042:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&syssect); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3055:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(system_state()); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformMiscUtils.cpp:195:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *home = getenv("HOME"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:170:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *home = getenv("HOME"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:176:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *display = getenv("DISPLAY"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:242:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *overrideDir = getenv(PACKAGE "_DATA_DIR"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:427:22: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *browserVar=getenv("BROWSER"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformVideoUtils.cpp:262:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *pDisplay = getenv("DISPLAY"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformVideoUtils.cpp:175:30: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. HINSTANCE pLibrary = LoadLibrary("DDRAW.DLL"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:269:11: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. handle = LoadLibrary(TEXT("DDRAW.DLL")); data/adanaxisgpl-1.2.5.dfsg.1/src/GL/GLTextureSpr.cpp:235:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). U32 sprIndex=atoi(name.c_str()); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:246:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:251:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "-%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:255:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "-%.0f.%02.0f", seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:262:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:266:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.0f.%02.0f", seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:283:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:288:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "-%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:292:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "-%.0f.%02.0f", seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:299:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "+%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:303:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "+%.0f.%02.0f", seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:320:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:323:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "-%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/Game/GameTimer.cpp:327:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.0f:%02.0f.%02.0f", minutes, seconds, centiseconds); data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.cpp:78:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[kIDSize]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.cpp:90:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *file = std::fopen(m_filename.c_str(), "rb"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.cpp:170:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *file = std::fopen(m_filename.c_str(), "rb"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileAccessor.cpp:277:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *file = std::fopen(m_filename.c_str(), "rb"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFile.cpp:103:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(outData, &m_data[m_seekPos], readSize); data/adanaxisgpl-1.2.5.dfsg.1/src/MushFile/MushFileFilename.cpp:108:26: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *file = fopen(filenames[i].c_str(), "rb"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushGL/MushGLTexture.cpp:354:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&m_u8Data[0], pData, storageSize); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c:239:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, (char*)&q, SIZEOF_LONG_LONG); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c:253:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&q, buf, SIZEOF_LONG_LONG); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c:303:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, (char*)BDIGITS(val), len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c:322:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)BDIGITS(big), buf, QUAD_SIZE); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:838:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (open) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:861:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(alloc, p, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1047:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(t, "/**"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1240:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, s, lbrace-s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1242:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b, t, p-t); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:393:31: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file == NULL || (fd = open(file, O_RDONLY)) < 0) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:407:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAXPATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:972:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char armagic[SARMAG]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1003:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(file, O_RDONLY); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1120:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(file, O_RDONLY); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1221:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char message[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1224:10: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. p += sprintf(message, "%d: ", error); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1247:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *message[8], errbuf[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1276:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int nerr = atoi(message[i]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1321:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char winfile[MAXPATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1452:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *object_files[2] = {NULL, NULL}; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1536:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char real_name[MAXPATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1539:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(real_name, "__Fv"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1567:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errMessage[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1573:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fullpath[MAXPATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1738:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char fbuf[MAXPATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1804:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, home, i); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1813:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, dp, l); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1832:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, fname, i + 1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:98:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:131:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:144:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:162:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:184:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:224:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:630:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:881:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[8]; /* some Windows' errno have 5 digits. */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1080:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1098:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1124:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1159:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:1145:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:2439:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "$%d", (int)node->nd_nth); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:2446:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "$%c", (char)node->nd_nth); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:4045:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[20]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:4712:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char mesg[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6124:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUFSIZ]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10325:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[21+SIZEOF_LONG*2]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10328:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(msg, "Thread(0x%lx): deadlock", curr_thread->thread); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:11706:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:11708:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "Insecure exit at level %d", th->safe); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:659:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:661:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "0%lo", NUM2ULONG(v)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:665:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:667:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "0x%lx", NUM2ULONG(v)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2356:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char drive[4]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2531:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, b, s-b); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2555:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, s, 2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2665:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(++p, b, s-b); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2679:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(++p, b, s-b); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:3061:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((tmpfd = open(StringValueCStr(path), O_RDWR)) < 0) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:3065:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((tmpfd = open(StringValueCStr(path), 0)) < 0) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:4186:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(file, "r"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1405:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[8192]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1512:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2669:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(fname, flags, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2673:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(fname, flags, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2689:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file = fopen(fname, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2693:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file = fopen(fname, mode); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:192:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sizeof(long)+1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:325:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:328:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (d < 0) strcpy(buf, "-inf"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:329:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy(buf, "inf"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:332:2: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(buf, "nan"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:335:17: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (1.0/d < 0) strcpy(buf, "-0"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:342:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%.*g", FLOAT_DIG, d); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:260:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char b[8]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:403:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char S[8][64] = { /* 48->32 bit substitution tables */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:476:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char a64toi[128]; /* ascii-64 => 0..63 */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:498:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char cryptresult[1+4+4+11+1]; /* encrypted result */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:767:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char perm[64], tmp32[32]; /* "static" for speed */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:802:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pc2inv[64]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/missing/crypt.c:908:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char p[64]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:517:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:526:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%#.15g", value); /* ensure to print decimal point */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:531:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%#.14e", value); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:1545:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[24]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:1548:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%-.10g", RFLOAT(val)->value); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:1696:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[24]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:1699:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%-.10g", RFLOAT(val)->value); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:1925:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[SIZEOF_LONG*CHAR_BIT + 2], *b = buf + sizeof buf; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:170:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(utmp,&dtmp,sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:174:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&dtmp,utmp,sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:188:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(utmp,&dtmp,sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:192:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&dtmp,utmp,sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:308:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define HTONF(x,y) (memcpy(&y,&x,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:310:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:312:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define HTOVF(x,y) (memcpy(&y,&x,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:314:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:316:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define NTOHF(x,y) (memcpy(&y,&x,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:318:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:320:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define VTOHF(x,y) (memcpy(&y,&x,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:322:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(float)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:334:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define HTOND(x,y) (memcpy(&y,&x,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:336:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:338:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define HTOVD(x,y) (memcpy(&y,&x,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:340:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:342:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define NTOHD(x,y) (memcpy(&y,&x,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:344:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:346:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define VTOHD(x,y) (memcpy(&y,&x,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:348:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&x,&y,sizeof(double)), \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:741:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[QUAD_SIZE]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:895:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[8]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1084:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1535:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF16(&tmp), s, NATINT_LEN(short,2)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1547:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF16(&tmp), s, NATINT_LEN(unsigned short,2)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1558:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(int)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1569:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(unsigned int)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1580:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF32(&tmp), s, NATINT_LEN(long,4)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1591:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF32(&tmp), s, NATINT_LEN(unsigned long,4)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1620:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF16B(&tmp), s, NATINT_LEN(unsigned short,2)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1631:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF32B(&tmp), s, NATINT_LEN(unsigned long,4)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1642:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF16(&tmp), s, NATINT_LEN(unsigned short,2)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1653:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(OFF32(&tmp), s, NATINT_LEN(long,4)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1665:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(float)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1678:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(float)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1692:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1705:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1718:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(float)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1732:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(double)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1760:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hunk[4]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1792:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, hunk, mlen); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1902:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&t, s, sizeof(char *)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/pack.c:1944:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&t, s, sizeof(char *)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:3781:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[3]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:3783:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "$%c", (char)yyvsp[0].node->nd_nth); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:8001:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[30]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:8003:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tmp, "trailing `%c' in number", nondigit); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:8346:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). yylval.node = NEW_NTH_REF(atoi(tok()+1)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:296:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1775:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open("/dev/tty", O_RDWR)) >= 0) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/random.c:302:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open("/dev/urandom", O_RDONLY data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.c:338:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b[8]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.c:340:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(b, "\\%03o", *p & 0377); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.c:1392:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(re->str, s, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/re.c:1780:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(t, RSTRING(str)->ptr, s - RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:151:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(stackx, stackb, xlen * sizeof (type)); \ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:201:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char re_syntax_table[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:1246:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char error_msg[ERROR_MSG_MAX_SIZE+1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:1626:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[CHAR_CLASS_MAX_LENGTH + 1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:2122:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b, laststart+2, mcnt); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:2135:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b, laststart, mcnt); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/regex.c:2806:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char *stacka[NFAILURES]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:154:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char newsub[STATIC_FILE_LENGTH+1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:187:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char ret[STATIC_FILE_LENGTH+1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:215:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rubylib[FILENAME_MAX]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:271:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char libpath[FILENAME_MAX+1]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:469:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. int argc; char *argv[3]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:879:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fname, "r"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1093:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(origargv[0], s, i); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1097:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(origargv[0], s, i); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.h:493:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define MEMCPY(p1,p2,type,n) memcpy((p1), (p2), sizeof(type)*(n)) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:119:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buf[blen], s, l);\ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:449:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buf[blen], RSTRING(str)->ptr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:473:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fbuf[32], nbuf[64], *s, *t; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:572:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(fbuf, "%%l%c", c); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:583:8: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(s, ".."); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:587:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(fbuf, "%%l%c", *p == 'X' ? 'x' : *p); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:642:8: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(t, ".."); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:724:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fbuf[32]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:834:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%d", width); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:839:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, ".%d", prec); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/st.c:156:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("/tmp/col", "w"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:118:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr, ptr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:414:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str3)->ptr, RSTRING(str1)->ptr, RSTRING(str1)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:415:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str3)->ptr + RSTRING(str1)->len, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:452:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str2)->ptr + i, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:517:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, RSTRING(str)->ptr, RSTRING(str)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:745:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:772:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:810:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr + RSTRING(str)->len, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:829:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr + RSTRING(str)->len, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2018:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr + BEG(0), data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2142:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, cp, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2144:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, RSTRING(val)->ptr, RSTRING(val)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2154:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, RSTRING(str)->ptr+END(0), len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2170:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, cp, RSTRING(str)->len - offset); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2289:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr, RSTRING(str2)->ptr, RSTRING(str2)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2592:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[5]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2639:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "\\%03o", c & 0377); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:2743:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(q, "%03o", c&0xff); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:3167:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char table[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:3170:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:3214:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char squeez[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:3289:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char squeez[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:3420:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char table[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4528:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p,f,flen); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4536:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, RSTRING(str)->ptr, RSTRING(str)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4546:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p,f,flen); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:303:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char *months [12] = { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1266:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[128]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1650:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[64]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1846:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[SMALLBUF], *buf = buffer; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1914:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[8]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:190:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:246:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void)memcpy(p, strEQ(ext, suffix1) ? suffix2 : suffix1, 5); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:249:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->ptr, buf, RSTRING(str)->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:284:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char dbcs_table[256]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:364:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path_buffer[PATH_MAX]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:657:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, str, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:805:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:811:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "$%c", *s++); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:397:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[200]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:558:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cmdname[9], *b = cmdname, c, **nm; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:612:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char modes[3]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:828:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(q, s, n = p - s); q += n; s = p; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:837:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(q, s, n = p - s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:967:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, cmd, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:976:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, cmd, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1062:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[MAXPATHLEN], *buf = buffer; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1289:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p - ((slashes + 1) >> 1), p + (~slashes & 1), base + len - p); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1383:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char scannamespc[PATHLEN]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1417:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(scanname, "/*"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1671:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char sockbuf[80]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1705:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[512]; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1727:6: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(buffer, "Unknown Error"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3616:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #undef fopen data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3620:27: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = (errno = 0, fopen(path, mode)); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp:931:8: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(msg, "parse error"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:621:6: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen ("/proc/self/maps", "r"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:687:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *address_string, line[SIZE], *found; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:692:6: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen ("/proc/self/maps", "r"); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:752:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (address_string, "0x", 2); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:753:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (address_string + 2, start_addr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:757:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (address_string, "0x", 2); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:758:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (address_string + 2, end_addr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1173:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (result, str1, len1); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1174:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (result + len1, str2, len2); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1219:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (result, str, size); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:174:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]=""; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:232:5: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR userPath[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:30:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). # define fopen _wfopen data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:54:10: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static wchar_t stdoutPath[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:55:10: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static wchar_t stderrPath[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:57:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char stdoutPath[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:58:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char stderrPath[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:157:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file = fopen(stdoutPath, TEXT("rb")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:167:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file = fopen(stderrPath, TEXT("rb")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:250:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t path[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:252:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAX_PATH]; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:295:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stdout = fopen(stdoutPath, TEXT("w")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:297:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). newfp = fopen(stdoutPath, TEXT("w")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:317:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stderr = fopen(stderrPath, TEXT("w")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:319:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). newfp = fopen(stderrPath, TEXT("w")); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/bignum.c:449:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len *= strlen(str)*sizeof(char); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/class.c:955:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_define_attr(klass, name, read, write) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/class.c:958:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read, write; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/class.c:960:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_attr(klass, rb_intern(name), read, write, Qfalse); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:50:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define NAMLEN(dirent) strlen((dirent)->d_name) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:53:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define NAMLEN(dirent) strlen((dirent)->d_name) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:60:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define NAMLEN(dirent) strlen((dirent)->d_name) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:883:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!pend) pend = path + strlen(path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:892:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *pend = p + strlen(p); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1005:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int n = strlen(base); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1007:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). REALLOC_N(buf, char, n+strlen(m)+3); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1038:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). REALLOC_N(buf, char, strlen(base)+NAMLEN(dp)+strlen(m)+6); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1038:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). REALLOC_N(buf, char, strlen(base)+NAMLEN(dp)+strlen(m)+6); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1046:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *t = buf+strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1056:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). REALLOC_N(buf, char, strlen(base)+NAMLEN(dp)+2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1080:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(link->path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1081:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int mlen = strlen(m); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dir.c:1226:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:150:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(FUNCNAME_PATTERN) + strlen(slash + 1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:150:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(FUNCNAME_PATTERN) + strlen(slash + 1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:225:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, hdrp, sizeof(struct exec)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:306:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, reloc, size) != size) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:328:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &size, sizeof(int)) != sizeof(int)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:339:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, buffer, hdrp->a_syms + size) != hdrp->a_syms + size) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:412:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &c, 1) == -1) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:417:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &c, 1) == -1) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:425:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(fd, &c, 1) == 1) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:433:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(fd, p, 1) == 1) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:478:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, addr, size) != size) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:901:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:989:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(lib) + 4; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1005:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, armagic, SARMAG); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1012:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, &ahdr, sizeof(ahdr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1024:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, data, size); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1061:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, &ahdr, sizeof(ahdr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1115:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result = strlen(file); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1231:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sizeof message - strlen(message), data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1269:26: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. #define ERRBUF_APPEND(s) strncat(errbuf, s, sizeof(errbuf)-strlen(errbuf)-1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1269:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define ERRBUF_APPEND(s) strncat(errbuf, s, sizeof(errbuf)-strlen(errbuf)-1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1285:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). errbuf[strlen(errbuf)-1] = '\0'; /* trim off last newline */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1316:68: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define DLN_ERROR() (error = dln_strerror(), strcpy(ALLOCA_N(char, strlen(error) + 1), error)) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1325:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(file) >= MAXPATHLEN) rb_loaderror("filename too long"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1620:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fname = (char *)__alloca(strlen(file)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1627:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fname_d.dsc$w_length = strlen(fname); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1629:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). image_d.dsc$w_length = strlen(vms_filespec); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1631:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf_d.dsc$w_length = strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1725:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). posix += strlen(posix); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1730:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (len < strlen(first)) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1762:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(fname) > 2 && fname[1] == ':') return fname; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1777:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ep = dp+strlen(dp); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1801:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(home); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1823:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(fname); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1871:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (fspace < strlen(extension[j])) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/dln.c:1907:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). vms_filespec = malloc(strlen(filespec)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:148:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:353:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_exc_new(etype, s, strlen(s)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:937:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(err)+RSTRING(str)->len+3; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:941:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(mesg, strlen(RSTRING(mesg)->ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1168:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). snprintf(buf+strlen(buf), BUFSIZ-strlen(buf), ": %s", strerror(errno_save)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/error.c:1168:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). snprintf(buf+strlen(buf), BUFSIZ-strlen(buf), ": %s", strerror(errno_save)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:673:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_attr(klass, id, read, write, ex) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:676:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read, write, ex; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:707:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name)+2; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:711:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6834:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). elen = strlen(ext); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6837:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(feature); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6878:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = ALLOCA_N(char, strlen(feature)+8); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:6882:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy(buf+strlen(feature), loadable_ext[i]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:8587:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(cname)+6+w; /* 6:tags 16:addr */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:8592:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(node->nd_file) + 2 + (SIZEOF_LONG*CHAR_BIT-NODE_LSHIFT)/3; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:8603:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10750:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_thread_select(max, read, write, except, timeout) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10752:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fd_set *read, *write, *except; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10760:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!read && !write && !except) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10791:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = select(max, read, write, except, tvp); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10819:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) curr_thread->readfds = *read; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10819:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) curr_thread->readfds = *read; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:10833:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) *read = curr_thread->readfds; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:12372:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(cname)+7+16+9+1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/eval.c:12376:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2307:10: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). omask = umask(0); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2308:2: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(omask); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2311:10: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). omask = umask(NUM2INT(argv[0])); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2509:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dirlen = strlen(dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2519:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = buf + strlen(dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2540:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dirlen = strlen(pwPtr->pw_dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2543:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = buf + strlen(pwPtr->pw_dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2574:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dirlen = strlen(dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2593:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dirlen = strlen(dir); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:2738:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l2 = strlen(e); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/file.c:4151:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pend = path + strlen(path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/gc.c:550:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(f) + 1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1668:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return env_str_new(ptr, strlen(ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1680:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(nam) != RSTRING(name)->len) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1720:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(nam) != RSTRING(name)->len) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1757:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(nam) != RSTRING(key)->len) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1797:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). register int i, len = strlen(nam); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1880:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name) + strlen(value) + 2; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1880:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name) + strlen(value) + 2; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1891:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sprintf(environ[i] + strlen(name),"=%s", value); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1923:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(name) != RSTRING(nm)->len) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:1925:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(value) != RSTRING(val)->len) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2240:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(s) != RSTRING(key)->len) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2257:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/hash.c:2281:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:841:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = getc(fptr->f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1014:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(cname) + strlen(fptr->path) + 5; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1014:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(cname) + strlen(fptr->path) + 5; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1055:57: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (n = 0; n < len && READ_DATA_PENDING(f) && (c = getc(f)) != EOF; ++n) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1083:6: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fptr->f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1234:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(fileno(fptr->f), RSTRING(str)->ptr, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1451:6: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1529:6: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1894:6: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1939:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:1965:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:2439:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(fileno(fptr->f), RSTRING(str)->ptr, ilen); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:3227:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path = ALLOCA_N(char, strlen(RSTRING(fname)->ptr)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:3975:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_write_error2(mesg, strlen(mesg)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4261:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(fn) == 1 && fn[0] == '-') { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4575:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). VALUE read, write, except, timeout, res, list; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4585:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_scan_args(argc, argv, "13", &read, &write, &except, &timeout); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4595:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!NIL_P(read)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4596:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Check_Type(read, T_ARRAY); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4599:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (i=0; i<RARRAY(read)->len; i++) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4600:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GetOpenFile(rb_io_get_io(RARRAY(read)->ptr[i]), fptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4667:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (i=0; i< RARRAY(read)->len; i++) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4668:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GetOpenFile(rb_io_get_io(RARRAY(read)->ptr[i]), fptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/io.c:4671:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_ary_push(list, rb_ary_entry(read, i)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:336:17: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy(buf, "0"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:343:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:347:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). w_bytes(buf, strlen(buf), arg); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/marshal.c:364:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). w_bytes(sym, strlen(sym), arg); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:528:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). e = buf + strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:533:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). e = buf + strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/numeric.c:539:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove(p, e, strlen(e)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:385:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(cname)+6+16; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:388:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:468:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(c)+10+16+1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:471:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:474:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(c)+6+16+1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:477:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:1198:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str = rb_str_new(0, strlen(name)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:1203:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(RSTRING(str)->ptr, ":\"", 2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:1676:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (RSTRING(str)->len != strlen(RSTRING(str)->ptr)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:2302:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *buf = ALLOCA_N(char, strlen(p)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:2360:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (badcheck && len != strlen(s)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/object.c:2448:58: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (RTEST(ruby_verbose) && RSTRING(str)->len != strlen(RSTRING(str)->ptr)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:3250:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define yystrlen strlen data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:5938:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(RSTRING(lit)->ptr) == RSTRING(lit)->len) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:10025:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = strlen(name)-1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:10060:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, name, last); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:10116:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *buf = ALLOCA_N(char, strlen(name)+2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/parse.c:10119:6: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buf, "="); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:993:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). new_argv[1] = strcpy(ALLOCA_N(char, strlen(argv[0]) + 1), argv[0]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/process.c:1128:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). new_argv[1] = strcpy(ALLOCA_N(char, strlen(argv[0]) + 1), argv[0]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/random.c:314:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(fd, seed, seed_len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:168:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). newl = strlen(newp); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:184:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:188:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ret, s, l); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:286:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(libpath, __dos_argv0, FILENAME_MAX); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:289:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(libpath, _argv[0], FILENAME_MAX); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:307:2: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(libpath, "."); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:313:30: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). #define RUBY_RELATIVE(path) (strncpy(p, (path), rest), libpath) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:357:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). list->name = ALLOC_N(char, strlen(mod)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:477:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(argv[1]+1, p, s-p); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:654:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_fs = rb_reg_new(s, strlen(s), 0); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:847:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (strlen(script) == 1 && script[0] == '-') { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1020:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1024:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); /* this one is ok too */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1071:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/ruby.c:1076:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); /* this one is ok too */ data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:511:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). width -= strlen(prefix); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:600:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove(s+1, s, strlen(s)+1); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:639:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = rb_str_new(0, 3+strlen(s)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:647:25: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (s[0] != 'f') strcpy(t++, "f"); break; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:649:25: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (s[0] != '7') strcpy(t++, "7"); break; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:651:25: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (s[0] != '1') strcpy(t++, "1"); break; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:661:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(s); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:686:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int plen = strlen(prefix); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:737:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). need = strlen(expr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:752:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&buf[blen], expr, strlen(expr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:752:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy(&buf[blen], expr, strlen(expr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:767:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (need-- - strlen(expr) > 0) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:770:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&buf[blen], expr, strlen(expr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:770:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy(&buf[blen], expr, strlen(expr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:774:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf[blen + need - strlen(expr) - 1] = '-'; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:776:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf[blen + need - strlen(expr) - 1] = '+'; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:777:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&buf[blen + need - strlen(expr)], expr, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:777:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy(&buf[blen + need - strlen(expr)], expr, data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:778:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(expr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:780:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). blen += strlen(&buf[blen]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:799:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). blen += strlen(&buf[blen]); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:835:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf += strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/sprintf.c:840:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf += strlen(buf); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:139:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_new(ptr, strlen(ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:267:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:595:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!s || RSTRING(str)->len != strlen(s)) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:757:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_buf_cat(str, ptr, strlen(ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:786:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_cat(str, ptr, strlen(ptr)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/string.c:4421:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(RSTRING(str)->ptr) != RSTRING(str)->len) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/struct.c:545:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(cname) + 14; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/struct.c:549:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(str)->len = strlen(RSTRING(str)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1777:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). flen = strlen(format); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1862:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (strlen(fmt) < len) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/time.c:1870:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) + 1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:187:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int extlen = strlen(suffix); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:248:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(str, strlen(buf)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:361:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:373:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, path, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/util.c:654:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(str) + 1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:233:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = 2 + strlen(s) + 3 + 2 * SIZEOF_LONG + 1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:236:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RSTRING(path)->len = strlen(RSTRING(path)->ptr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/variable.c:509:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *buf = ALLOCA_N(char, strlen(name)+2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:404:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(NTLoginName, buffer, len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:560:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(interp) - 11; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:943:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!len) len = strlen(cmd); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:945:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCA_N(char, strlen(shell) + len + sizeof(" -c ") + 2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:952:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCA_N(char, strlen(shell) + len + sizeof(" /c ")); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1042:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpcurr->len = strlen(path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1069:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (buf, patt->str, patt->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1350:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (ptr, curr->str, curr->len); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1416:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (index("/\\:", *CharPrev(scanname, scanname + strlen(scanname))) == NULL) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1419:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(scanname, "*"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1436:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). idx = strlen(fd.cFileName)+1; data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1448:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(fd.cFileName); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1489:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(dirp->curr); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1731:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buffer, strerror(e), sizeof(buffer)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:1737:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove(p, p + 1, strlen(p)); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2590:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(buffer); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2877:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *end = path + strlen(path); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2949:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf1 = ALLOCA_N(char, strlen(path) + 2); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2968:6: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buf1, "\\"); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:2970:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buf1, "."); data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3215:8: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef fgetc data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3366:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (env = envtop, num = 0; *env; env += strlen(env) + 1) data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3370:55: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (env = envtop, myenv = myenvtop; *env; env += strlen(env) + 1) { data/adanaxisgpl-1.2.5.dfsg.1/src/MushRuby/win32/win32.c:3372:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *myenv = ALLOC_N(char, strlen(env) + 1); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp:927:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size += strlen(yytname[x]) + 15, count++; data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreBison.cpp:942:4: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(msg, "'"); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFlex.cpp:633:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreFlex.cpp:889:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *outScalar=string(&yytext[1], strlen(yytext)-2); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStreamUtil.cpp:108:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inIn.read(reinterpret_cast<char *>(buf), 4); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStreamUtil.cpp:120:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inIn.read(reinterpret_cast<char *>(buf), 4); data/adanaxisgpl-1.2.5.dfsg.1/src/Mushcore/MushcoreStreamUtil.cpp:147:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inIn.read(reinterpret_cast<char *>(outBuffer), inSize); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/MacOSX/PlatformMiscUtils.cpp:560:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(inMsec*1000); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:274:2: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(pBuffer) > 1) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:456:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(inMsec*1000); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:572:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (path2, "/proc/self/exe", buf_size - 1); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:604:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (path, path2, buf_size - 1); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:640:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf_size = strlen (line); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:728:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (file); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:735:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (file); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:740:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (start_addr); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:741:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (len != strlen (end_addr)) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1169:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len1 = strlen (str1); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1170:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len2 = strlen (str2); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1188:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (dir); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/X11/PlatformMiscUtils.cpp:1212:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (str); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/PlatformMiscUtils.cpp:211:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(pBuffer) > 1) data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:159:13: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). empty = (fgetc(file) == EOF) ? 1 : 0; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:169:13: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). empty = (fgetc(file) == EOF) ? 1 : 0; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:282:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy( stdoutPath, path, SDL_arraysize(stdoutPath) ); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:283:2: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. wcsncat( stdoutPath, DIR_SEPERATOR STDOUT_FILE, SDL_arraysize(stdoutPath) ); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:306:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy( stderrPath, path, SDL_arraysize(stdoutPath) ); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:307:2: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. wcsncat( stderrPath, DIR_SEPERATOR STDOUT_FILE, SDL_arraysize(stdoutPath) ); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:332:9: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nLen = wcslen(szCmdLine)+128+1; data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:336:15: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wcscpy (bufp+wcslen(bufp), TEXT("\" ")); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:337:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(bufp+wcslen(bufp), szCmdLine,nLen-wcslen(bufp)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:337:15: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wcsncpy(bufp+wcslen(bufp), szCmdLine,nLen-wcslen(bufp)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:337:44: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wcsncpy(bufp+wcslen(bufp), szCmdLine,nLen-wcslen(bufp)); data/adanaxisgpl-1.2.5.dfsg.1/src/Platform/win32/SDL_main.c:338:9: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nLen = wcslen(bufp)+1; ANALYSIS SUMMARY: Hits = 696 Lines analyzed = 225433 in approximately 5.33 seconds (42314 lines/second) Physical Source Lines of Code (SLOC) = 134198 Hits@level = [0] 294 [1] 272 [2] 274 [3] 41 [4] 95 [5] 14 Hits@level+ = [0+] 990 [1+] 696 [2+] 424 [3+] 150 [4+] 109 [5+] 14 Hits/KSLOC@level+ = [0+] 7.37716 [1+] 5.18637 [2+] 3.15951 [3+] 1.11775 [4+] 0.812233 [5+] 0.104323 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.