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/dasher-5.0.0~beta~repack2/Src/Common/Allocators/PooledAlloc.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Allocators/SimplePooledAlloc.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/AppSettingsData.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/AppSettingsHeader.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Common.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Globber.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Globber.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/I18n.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/IOstreamDasherEdit.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Common/IOstreamDasherEdit.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/MSVC_Unannoy.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/ModuleSettings.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/NoClones.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/OpenGLScreen.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Platform/stdminmax.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/SBTree.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Common/SBTree.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Trace.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Trace.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/Types/int.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/myassert.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/mydebug.h
Examining data/dasher-5.0.0~beta~repack2/Src/Common/round.c
Examining data/dasher-5.0.0~beta~repack2/Src/Common/round.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AbstractXMLParser.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AbstractXMLParser.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphIO.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphIO.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphInfo.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphInfo.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/GroupInfo.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AlphabetManager.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AlphabetManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AlternatingDirectMode.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AlternatingDirectMode.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AutoSpeedControl.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/AutoSpeedControl.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/BasicLog.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/BasicLog.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ButtonMode.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ButtonMode.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ButtonMultiPress.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ButtonMultiPress.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CircleStartHandler.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CircleStartHandler.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ClickFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ClickFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ColourIO.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ColourIO.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CompassMode.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CompassMode.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ControlManager.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ControlManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ConversionManager.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ConversionManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ConvertingAlphMgr.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CustomColours.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/CustomColours.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DashIntfScreenMsgs.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DashIntfScreenMsgs.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DashIntfSettings.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DashIntfSettings.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherButtons.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherButtons.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherInput.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherInterfaceBase.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherInterfaceBase.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherModule.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherModule.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherNode.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherNode.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherScreen.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherTypes.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherView.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherView.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherViewSquare.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherViewSquare.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DefaultFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DefaultFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DemoFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DemoFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DynamicButtons.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DynamicButtons.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DynamicFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/DynamicFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Event.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ExpansionPolicy.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ExpansionPolicy.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileWordGenerator.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileWordGenerator.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FrameRate.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/FrameRate.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/GameModule.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/GameModule.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/GameStatistics.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/InputFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/CTWLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/HashTable.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/HashTable.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/JapaneseLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/JapaneseLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversion.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionIME.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionIME.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/LanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/MixtureLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/PPMLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/PPMLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/PPMPYLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/PPMPYLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/RoutingPPMLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/RoutingPPMLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/MandarinAlphMgr.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/MandarinAlphMgr.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/MemoryLeak.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/MemoryLeak.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ModuleManager.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ModuleManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/NodeCreationManager.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/NodeCreationManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/NodeManager.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Observable.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneButtonDynamicFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneButtonDynamicFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneButtonFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneButtonFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneDimensionalFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/OneDimensionalFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Parameters.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Parameters.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/RoutingAlphMgr.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/RoutingAlphMgr.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SCENode.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SCENode.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ScreenGameModule.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ScreenGameModule.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SettingsStore.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SettingsStore.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SimpleTimer.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SimpleTimer.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInput.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInput.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/StartHandler.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/StylusFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/StylusFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Trainer.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/Trainer.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoBoxStartHandler.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoBoxStartHandler.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoButtonDynamicFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoButtonDynamicFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoPushDynamicFilter.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/TwoPushDynamicFilter.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserButton.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserButton.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogBase.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogBase.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogParam.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogParam.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/WordGeneratorBase.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/WordGeneratorBase.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/XMLUtil.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/XMLUtil.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/XmlSettingsStore.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/XmlSettingsStore.h
Examining data/dasher-5.0.0~beta~repack2/Src/DasherCore/ConvertingAlphMgr.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Canvas.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Canvas.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherAppSettings.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherAppSettings.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/GenerateSchema.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/GtkDasherControl.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/GtkDasherControl.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/KeyboardHelper.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/KeyboardHelper.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Preferences.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Preferences.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Speech.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/SpeechDispatcher.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Timer.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/Timer.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/custom_marshal.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/custom_marshal.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_atspi.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_cspi.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_xtest.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_private.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_lock_dialogue.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_lock_dialogue.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main_private.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/module_settings_window.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/module_settings_window.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/mouse_input.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/tilt_input.h
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/QMain.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherImpl.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherImpl.h
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherPlugin.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherPlugin.h
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherScreen.cc
Examining data/dasher-5.0.0~beta~repack2/Src/Qt/QtDasherScreen.h
Examining data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/lib_expt.h
Examining data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/main.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/pjc51_main.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/TestPlatform/MockFileWordGenerator.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/TestPlatform/MockFileWordGenerator.h
Examining data/dasher-5.0.0~beta~repack2/Src/TestPlatform/MockInterfaceBase.h
Examining data/dasher-5.0.0~beta~repack2/Src/TestPlatform/MockSettingsStore.h
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/stdafx.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/stdafx.h
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/toshtilt.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h
Examining data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/main.cpp
Examining data/dasher-5.0.0~beta~repack2/Src/main.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/dasher_tests/EventTest.cpp
Examining data/dasher-5.0.0~beta~repack2/Testing/dasher_tests/WordGenTest.cpp
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/codegear/gtest_all.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/codegear/gtest_link.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest_main.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-death-test.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-message.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-param-test.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-spi.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-test-part.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest-typed-test.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest_pred_impl.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest_prod.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-death-test-internal.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-filepath.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-internal.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-linked_ptr.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-param-util-generated.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-param-util.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-string.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-tuple.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-type-util.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/prime_tables.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample1.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample1.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample10_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample1_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample3-inl.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample3_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample4.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample4.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample4_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample5_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample6_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample7_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample8_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample9_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-all.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-death-test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-filepath.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-internal-inl.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-test-part.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-typed-test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest_main.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-death-test_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-filepath_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-linked_ptr_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-listener_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-message_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-options_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-param-test2_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-param-test_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-param-test_test.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-port_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-test-part_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-tuple_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-typed-test2_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-typed-test_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-typed-test_test.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-unittest-api_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_all_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_break_on_failure_unittest_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_color_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_env_var_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_environment_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_filter_unittest_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_help_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_list_tests_unittest_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_main_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_no_test_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_output_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_pred_impl_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_prod_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_repeat_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_shuffle_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_sole_header_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_stress_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_throw_on_failure_ex_test.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_throw_on_failure_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_uninitialized_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_xml_outfile1_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_xml_outfile2_test_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_xml_output_unittest_.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/production.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/test/production.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/xcode/Samples/FrameworkSample/widget.cc
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/xcode/Samples/FrameworkSample/widget.h
Examining data/dasher-5.0.0~beta~repack2/Testing/gtest/xcode/Samples/FrameworkSample/widget_test.cc

FINAL RESULTS:

data/dasher-5.0.0~beta~repack2/Src/Common/Trace.cpp:40:3:  [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(stdout, pszFormat, vargs);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:118:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          sprintf(mbuf, msg, static_cast<unsigned int>(buf[pos] & 0xff), numChars, len-pos);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:129:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(mbuf, msg, static_cast<unsigned int>(buf[pos] & 0xff));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:219: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(pCurrentChild->pszConversion, strSymbol.c_str());
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:150:7:  [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(fp, strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:157:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:185:7:  [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(fp, strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:192:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:223:7:  [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(fp, strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:230:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:261:7:  [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(fp, strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:268:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:299:7:  [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(fp, strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:306:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(strIndented.c_str(), args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp:455: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(buffer, AlphabetName.c_str());
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.cpp:25:9:  [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.
#define snprintf _snprintf
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.cpp:25:18:  [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.
#define snprintf _snprintf
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.cpp:28:9:  [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.
#define snprintf _snprintf
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.cpp:28:18:  [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.
#define snprintf _snprintf
data/dasher-5.0.0~beta~repack2/Src/DasherCore/MandarinAlphMgr.cpp:254:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, msg, GetDesc().c_str(), unannotated.size());
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:11:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buf, fmt, str);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:18:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buf, fmt, str1, str2);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:171:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf,msg,Label,DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:300:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buf,msg,prefix.c_str(),e);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:309:5:  [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(stderr, pszFormat, v);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp:884:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(m_szTempBuffer, 
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:87:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(user_data_dir, "%s/.dasher/", home_dir);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:220: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(pTempNew, pTemp);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/Preferences.cpp:449: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(szName, szCurrentFilter);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_cspi.cpp:103: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(szNewText, szText);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:417:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
          fscanf(fp, "%s\n", buffer);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:1472:9:  [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.
#define vsnprintf _vsnprintf
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2153:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(clone, str, length);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2821:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3075:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3078:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3968:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3987:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3994:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2394:20:  [4] (buffer) StrNCpy:
  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).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1332:20:  [4] (buffer) StrNCpy:
  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).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:132:9:  [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.
#define vsnprintf _vsnprintf
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:813:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(clone, str, length);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1481:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1735:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1738:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:2628:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:2647:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:2654:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/DasherInterfaceBase.cpp:128:3:  [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(ulTime);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:85: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.
  char *home_dir = getenv("HOME");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.cpp:26: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.
  std::string user_data_dir= getenv("HOME");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.cpp:45:29:  [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.
  std::string strFilename = getenv("HOME");
data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/toshtilt.cpp:81: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.
hDLL = LoadLibrary("C:\\Program Files\\Toshiba\\Acceleration Utilities\\TAcelMgr\\TAcelMgr.dll");
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/main.cpp:166:5:  [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((unsigned) time(NULL));
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:685:37:  [3] (random) random:
  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.
void ShuffleRange(internal::Random* random, int begin, int end,
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:706:39:  [3] (random) random:
  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.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:707:16:  [3] (random) random:
  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.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:1226:21:  [3] (random) random:
  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.
  internal::Random* random() { return &random_; }
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3798:47:  [3] (random) random:
  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.
void TestCase::ShuffleTests(internal::Random* random) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3799:11:  [3] (random) random:
  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.
  Shuffle(random, &test_indices_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:5342:7:  [3] (random) random:
  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.
      random()->Reseed(random_seed_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:5614:16:  [3] (random) random:
  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.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:5617:16:  [3] (random) random:
  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.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:5622:34:  [3] (random) random:
  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.
    test_cases_[i]->ShuffleTests(random());
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2432:27:  [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* const env = getenv(name);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2435: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.
  return getenv(name);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:16380:39:  [3] (random) random:
  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.
  void ShuffleTests(internal::Random* random);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/gtest.h:792:39:  [3] (random) random:
  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.
  void ShuffleTests(internal::Random* random);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1370:27:  [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* const env = getenv(name);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1373: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.
  return getenv(name);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-internal-inl.h:291:37:  [3] (random) random:
  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.
void ShuffleRange(internal::Random* random, int begin, int end,
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-internal-inl.h:312:39:  [3] (random) random:
  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.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-internal-inl.h:313:16:  [3] (random) random:
  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.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-internal-inl.h:832:21:  [3] (random) random:
  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.
  internal::Random* random() { return &random_; }
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:2458:47:  [3] (random) random:
  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.
void TestCase::ShuffleTests(internal::Random* random) {
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:2459:11:  [3] (random) random:
  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.
  Shuffle(random, &test_indices_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:4002:7:  [3] (random) random:
  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.
      random()->Reseed(random_seed_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:4274:16:  [3] (random) random:
  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.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:4277:16:  [3] (random) random:
  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.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:4282:34:  [3] (random) random:
  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.
    test_cases_[i]->ShuffleTests(random());
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:513:29:  [3] (random) random:
  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.
  testing::internal::Random random(42);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:515:7:  [3] (random) random:
  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.
      random.Generate(0),
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:518:7:  [3] (random) random:
  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.
      random.Generate(testing::internal::Random::kMaxRange + 1),
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:525:29:  [3] (random) random:
  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.
  testing::internal::Random random(12345);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:527:15:  [3] (random) random:
  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.
    EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i;
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:542:29:  [3] (random) random:
  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.
  testing::internal::Random random(kSeed);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:544:17:  [3] (random) random:
  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.
    values[i] = random.Generate(kRange);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:547:3:  [3] (random) random:
  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.
  random.Reseed(kSeed);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:549:26:  [3] (random) random:
  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.
    EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i;
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:614:29:  [3] (random) random:
  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.
  testing::internal::Random random(1);
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:617:21:  [3] (random) random:
  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.
      ShuffleRange(&random, -1, 1, &a),
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:620:21:  [3] (random) random:
  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.
      ShuffleRange(&random, 4, 4, &a),
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:623:21:  [3] (random) random:
  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.
      ShuffleRange(&random, 3, 2, &a),
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:626:21:  [3] (random) random:
  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.
      ShuffleRange(&random, 3, 4, &a),
data/dasher-5.0.0~beta~repack2/Src/Common/IOstreamDasherEdit.h:54: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 encstr[256];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/AbstractXMLParser.cpp:50: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 Buffer[1024];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphIO.cpp:255:30:  [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).
        pNewGroup->iColour = atoi(*(atts+1));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphIO.cpp:302:38:  [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).
        InputInfo->m_iConversionID = atoi(*(atts+1));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphIO.cpp:356:50:  [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).
    else if(strcmp(*atts, "b") == 0) ch.Colour = atoi(*(atts+1));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:117: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.
          char *mbuf(new char[strlen(msg) + 4]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:128: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 *mbuf(new char[strlen(msg) + 2]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.h:119: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/dasher-5.0.0~beta~repack2/Src/DasherCore/BasicLog.cpp:69:9:  [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).
  oFile.open(strFileName.c_str(), ios::out | ios::app);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/ColourIO.cpp:815:34:  [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).
        InputInfo.Reds.push_back(atoi(*(atts+1)));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/ColourIO.cpp:818:36:  [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).
        InputInfo.Greens.push_back(atoi(*(atts+1)));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/ColourIO.cpp:821:35:  [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).
        InputInfo.Blues.push_back(atoi(*(atts+1)));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/ControlManager.cpp:209:17:  [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).
        color = atoi(*(atts+1));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:63: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).
    fp = fopen(m_strFilenamePath.c_str(), "w");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:118: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).
    fp = fopen(m_strFilenamePath.c_str(), "w");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:141: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).
    fp = fopen(m_strFilenamePath.c_str(), "a");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:176: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).
    fp = fopen(m_strFilenamePath.c_str(), "a");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:214: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).
    fp = fopen(m_strFilenamePath.c_str(), "a");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:252: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).
    fp = fopen(m_strFilenamePath.c_str(), "a");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:290: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).
    fp = fopen(m_strFilenamePath.c_str(), "a");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:382:3:  [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     szPath[MAX_PATH_LENGTH];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:384:3:  [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     wstrFilenamePath[MAX_PATH_LENGTH];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:385: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        szResult[MAX_PATH_LENGTH];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:405: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        szPath[MAX_PATH_LENGTH];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:520: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.
        char strMs[16];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:522: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(strMs, "%d", sTimeBuffer.millitm);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:524: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(strMs, "%d", static_cast<int>(sTimeBuffer.tv_usec / 1000));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileWordGenerator.cpp:20:17:  [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).
  m_sFileHandle.open(m_sPath.c_str());
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp:450: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).
	OutputFile = fopen(strFilename.c_str(), "wb");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp:489:14:  [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).
	InputFile = fopen(strFilename.c_str(), "rb");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.cpp:514: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 sbuffer[5];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/DictLanguageModel.cpp:555: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 sbuffer[5];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/LanguageModel.h:129: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 szMagic[4];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.cpp:334:26:  [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).
      oSymbols.push_back(atoi(fragment.c_str()));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/WordLanguageModel.cpp:584: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 sbuffer[5];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/MandarinAlphMgr.cpp:253: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(new char[strlen(msg) + GetDesc().length() + 10]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:10: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(new char[strlen(fmt)+strlen(str)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:17: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(new char[strlen(fmt)+strlen(str1)+strlen(str2)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SettingsStore.cpp:114:37:  [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).
          SetLongParameter(p.first, atoi(strValue.c_str()));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:170: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(new char[strlen(msg)+strlen(Label)+DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:299: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(new char[strlen(msg) + prefix.length() + strlen(e)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.h:104: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 coordinateNames[DASHER_SOCKET_INPUT_MAX_COORDINATE_COUNT][DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH + 1];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.h:111: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 buffer[4096];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:68: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 strNum[256];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:69: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(strNum, "%0.3f", m_dElapsed);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:136: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 szMs[16];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:138: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(szMs, "%d", sTimeBuffer.millitm);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:140: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(szMs, "%d", static_cast<int>(sTimeBuffer.tv_usec / 1000));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:114: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 strNum[256];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:119: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(strNum, "%d", m_iLocationX);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:125: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(strNum, "%d", m_iLocationY);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:133: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(strNum, "%0.4f", m_dNormalizedLocationX);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:139: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(strNum, "%0.4f", m_dNormalizedLocationY);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:146: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(strNum, "%0.3f", m_dNats / log(2.0));	
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:244: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 szNum[256];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:247: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(szNum, "%0.4f\t%0.4f\n", m_dNormalizedLocationX, m_dNormalizedLocationY);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLocation.cpp:249: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(szNum, "%0.4f\t%0.4f\n", (double)m_iLocationX, (double)m_iLocationY);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp:134:16:  [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(USER_LOG_SIMPLE_FILENAME.c_str(), "r");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp:378: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(m_szTempBuffer, "%0.4f", dValue);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp:385: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(m_szTempBuffer, "%d", iValue);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.h:130: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                        m_szTempBuffer[TEMP_BUFFER_SIZE];  
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:589: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(m_szTempBuffer, "%0.6f", pLocation->avgBits);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:598: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(m_szTempBuffer, "%d", (int) pLocation->event);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:607: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(m_szTempBuffer, "%zu", pLocation->pVectorAdded->size());
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:630: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(m_szTempBuffer, "%0.6f", sItem.prob);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:644: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(m_szTempBuffer, "%d", pLocation->numDeleted);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:716: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(m_szTempBuffer, "%0.6f", dAvgBits);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:722: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(m_szTempBuffer, "%0.6f", dTotalBits);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:729: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(m_szTempBuffer, "%d", iButtonCount);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:740: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(m_szTempBuffer, "%d", iNumChars);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:747: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(m_szTempBuffer, "%0.2f", dNumWords);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:762: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(m_szTempBuffer, "%0.3f", dWPM);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:768: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(m_szTempBuffer, "%0.3f", dCPM);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:792: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(m_szTempBuffer, "\t\t<Top>%d</Top>\n", m_sWindowCoordinates.top);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:796: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(m_szTempBuffer, "\t\t<Bottom>%d</Bottom>\n", m_sWindowCoordinates.bottom);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:800: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(m_szTempBuffer, "\t\t<Left>%d</Left>\n", m_sWindowCoordinates.left);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:804: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(m_szTempBuffer, "\t\t<Right>%d</Right>\n", m_sWindowCoordinates.right);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:815: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(m_szTempBuffer, "\t\t<Top>%d</Top>\n", m_sCanvasCoordinates.top);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:819: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(m_szTempBuffer, "\t\t<Bottom>%d</Bottom>\n", m_sCanvasCoordinates.bottom);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:823: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(m_szTempBuffer, "\t\t<Left>%d</Left>\n", m_sCanvasCoordinates.left);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:827: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(m_szTempBuffer, "\t\t<Right>%d</Right>\n", m_sCanvasCoordinates.right);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.h:135: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                                m_szTempBuffer[TEMP_BUFFER_SIZE];  
data/dasher-5.0.0~beta~repack2/Src/DasherCore/XMLUtil.cpp:65: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 szBuffer[XML_UTIL_READ_BUFFER_SIZE];
data/dasher-5.0.0~beta~repack2/Src/DasherCore/XMLUtil.cpp:67: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).
  fp = fopen(strFilename.c_str(), "r");
data/dasher-5.0.0~beta~repack2/Src/DasherCore/XMLUtil.cpp:148:12:  [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).
    return atoi(strElement.c_str());
data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.cpp:34: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.
  const char *user[2], *sys[2];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/FileUtils.cpp:48: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* f = fopen(strFilename.c_str(), append ? "a+" : "w+");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/KeyboardHelper.cpp:103:9:  [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).
	SetKey(atoi(strCurrent.c_str()), iButtons[i]);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:503: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 cwd[1000];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:504: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 tbuffer[200];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:620: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((void *)outbuffer, (void *)inbuffer, length * sizeof(gchar));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:1032: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).
  fp = fopen(myfilename, "r");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:1059: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).
    fp = fopen(myfilename, "a");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:1066: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).
    fp = fopen(myfilename, "w");
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:237:11:  [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(szKey, *pszCurrent, iLength);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:51: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 keypath[1024];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:83: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 keypath[1024];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:111: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 keypath[1024];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:137: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(buffer + 4, keypath, name_len);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:176: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 keypath[1024];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:201: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(buffer + 4, keypath, name_len);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:203: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(buffer + 8 + name_len, Value.c_str(), strlen(Value.c_str()));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:96: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).
    iFd = open(szDeviceName, O_RDONLY | O_NONBLOCK);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:223: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).
    iFd = open(szDeviceName, O_RDONLY | O_NONBLOCK);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:339: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).
    iFd = open(szDeviceName, O_RDONLY | O_NONBLOCK);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/tilt_input.h:95: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/dasher-5.0.0~beta~repack2/Src/Gtk2/tilt_input.h:112: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).
    m_iFD = open(MODEMDEVICE, O_RDWR | O_NOCTTY ); 
data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/lib_expt.h:22:19:  [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).
    oParameterLog.open(oParameterLogFilename.c_str());
data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/lib_expt.h:23:14:  [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).
    oDataLog.open(oDataLogFilename.c_str());
data/dasher-5.0.0~beta~repack2/Src/TestPlatform/MockFileWordGenerator.cpp:6:19:  [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).
    m_sFileHandle.open(m_sPath.c_str());
data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/toshtilt.cpp:134:1:  [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/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/toshtilt.cpp:154: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(buffer, "x %lf\ny %lf\n", dx, dy);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:60: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 strNum[256];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:64: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(strNum, "_file%d", numFile);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:69: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(strNum, "_trial%d", numTrial);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:74: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(strNum, "_nav%d", numNav);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:86: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).
  fp = fopen(strFilename.c_str(), "w");
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:106: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).
  fp = fopen(strFilename.c_str(), "w");
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:108: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 strNum[256];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:118: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(strNum, "%0.4f", data[i][j]);        
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:394:20:  [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).
        gridSize = atoi(strNextParam.c_str());
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:410: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).
      fp = fopen(strInListFilename.c_str(), "r");
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:413: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.
        char buffer[1024];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:192: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 strBuffer[512];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:221: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 strMs[16];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:222: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(strMs, "%d", timebuffer.millitm);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:271: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		szPath[MAX_PATH_LENGTH];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:293: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 StackBuffer[iStackBufferSize];
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:306:2:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	MultiByteToWideChar(CP_UTF8, 0, UTF8string.c_str(), -1, pBuffer, BufferSize);
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/main.cpp:344:14:  [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).
        fp = fopen("test.die", "r");
data/dasher-5.0.0~beta~repack2/Testing/dasher_tests/WordGenTest.cpp:53:7:  [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).
  fin.open("test_data/word_gen_single_line.txt");
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2176:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2179:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2293: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 buffer[32];  // CodePointToUtf8 requires a buffer that big.
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2714: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 error_text[kBufSize] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2883: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[32];  // CodePointToUtf8 requires a buffer this big.
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3067: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 buffer[4096];
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:6300: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 buffer[256];
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:6684: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 executable_path[_MAX_PATH + 1];  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:7314: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:7317: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:7997: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(buffer, regex, len);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:8042: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 temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:8043: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 temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:8061:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2406: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).
  return fopen(path, mode);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2876: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(str, buffer, a_length);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1344: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).
  return fopen(path, mode);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-string.h:304: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(str, buffer, a_length);
data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2.cc:44: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(clone, a_c_string, len + 1);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-death-test.cc:261: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 buffer[256];
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-death-test.cc:645: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 executable_path[_MAX_PATH + 1];  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-filepath.cc:106: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-filepath.cc:109: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:414: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(buffer, regex, len);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:459: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 temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:460: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 temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:478:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:836:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:839:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:953: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 buffer[32];  // CodePointToUtf8 requires a buffer that big.
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1374: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 error_text[kBufSize] = { '\0' };
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1543: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[32];  // CodePointToUtf8 requires a buffer this big.
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1727: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 buffer[4096];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-filepath_test.cc:380: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 current_drive[_MAX_PATH];  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest-filepath_test.cc:397: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 non_drive[_MAX_PATH];  // NOLINT
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:336: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:342: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:352: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:363: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:379: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:392: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 buffer[32];
data/dasher-5.0.0~beta~repack2/Testing/gtest/test/gtest_unittest.cc:1143: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 buffer[4096];
data/dasher-5.0.0~beta~repack2/Testing/gtest/xcode/Samples/FrameworkSample/widget_test.cc:58: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 buffer[max_size];
data/dasher-5.0.0~beta~repack2/Src/Common/Globber.cpp:30: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).
      if ((*fname)[strlen(*fname)-1]=='/') continue; //directories were marked by GLOB_MARK
data/dasher-5.0.0~beta~repack2/Src/Common/IOstreamDasherEdit.cc:62:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(inbuffer, label.c_str(), 255);
data/dasher-5.0.0~beta~repack2/Src/Common/IOstreamDasherEdit.cc:96:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(inbuffer, label.c_str(), 255);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/AbstractXMLParser.cpp:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(Buffer, sizeof(Buffer));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:85:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read(&buf[len], 1024-len);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:117: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).
          char *mbuf(new char[strlen(msg) + 4]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Alphabet/AlphabetMap.cpp:128: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).
      char *mbuf(new char[strlen(msg) + 2]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:51: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);       //      Move to next dictionary name
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:100: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).
                  strlen(inbuf),        // length of given string
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:135: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).
      inbytesleft = strlen((char *)inbuf);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:144: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((char *)str_utf8)) 
data/dasher-5.0.0~beta~repack2/Src/DasherCore/CannaConversionHelper.cpp:148: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).
      p += (strlen(p) + 1);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/ConversionManager.cpp:163:43:  [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(pCurrentSCENode->pszConversion && (strlen(pCurrentSCENode->pszConversion) > 0)) {
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:503:34:  [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 ((szTimeLine != NULL) && (strlen(szTimeLine) > 23))
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:526: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).
        if (strlen(strMs) == 1)
data/dasher-5.0.0~beta~repack2/Src/DasherCore/FileLogger.cpp:528: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).
        else if (strlen(strMs) == 2)
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp:53: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);       //      Move to next dictionary name
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp:92: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).
                  strlen(inbuf),        // length of given string
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp:114: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).
      inbytesleft = strlen((char *)inbuf);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp:122: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((char *)str_utf8))
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionCanna.cpp:125: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).
      p += (strlen(p) + 1);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionIME.cpp:46: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).
	while( strlen(pQuery) ){
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionIME.cpp:58: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).
			if( strlen( (char *)lpCand + lpCand->dwOffset[i] ) > MaxLen )
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/KanjiConversionIME.cpp:59: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).
				MaxLen = strlen( (char *)lpCand + lpCand->dwOffset[i] );
data/dasher-5.0.0~beta~repack2/Src/DasherCore/LanguageModelling/PPMLanguageModel.cpp:542:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    oInputFile.read(reinterpret_cast<char *>(&sBR), sizeof(BinaryRecord));
data/dasher-5.0.0~beta~repack2/Src/DasherCore/MandarinAlphMgr.cpp:253: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).
    char *buf(new char[strlen(msg) + GetDesc().length() + 10]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:10: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 *buf(new char[strlen(fmt)+strlen(str)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:10:34:  [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(new char[strlen(fmt)+strlen(str)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:17: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 *buf(new char[strlen(fmt)+strlen(str1)+strlen(str2)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:17:34:  [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(new char[strlen(fmt)+strlen(str1)+strlen(str2)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/Messages.cpp:17:47:  [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(new char[strlen(fmt)+strlen(str1)+strlen(str2)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:168: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).
  if(strlen(Label) > DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH) {
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:170: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).
    char *buf(new char[strlen(msg)+strlen(Label)+DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:170: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).
    char *buf(new char[strlen(msg)+strlen(Label)+DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:175:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(coordinateNames[iWhichCoordinate], Label, DASHER_SOCKET_INPUT_MAX_COORDINATE_LABEL_LENGTH);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:220: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).
      int len = strlen(coordinateNames[i]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:299: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 *buf(new char[strlen(msg) + prefix.length() + strlen(e)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/SocketInputBase.cpp:299: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).
  char *buf(new char[strlen(msg) + prefix.length() + strlen(e)]);
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:131: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).
  if ((szTimeLine != NULL) && (strlen(szTimeLine) > 18))
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:142: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(szMs) == 1)
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:144: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(szMs) == 2)
data/dasher-5.0.0~beta~repack2/Src/DasherCore/TimeSpan.cpp:197: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).
  if ((szTimeLine != NULL) && (strlen(szTimeLine) > 23))
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLog.cpp:639:34:  [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 ((szTimeLine != NULL) && (strlen(szTimeLine) > 18))
data/dasher-5.0.0~beta~repack2/Src/DasherCore/UserLogTrial.cpp:501: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).
        if (strlen(m_szTempBuffer) > 0)
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:86:34:  [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 *user_data_dir = new char[strlen(home_dir) + 10];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:157:48:  [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).
  gtk_clipboard_set_text(pClipboard, the_text, strlen(the_text));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/DasherControl.cpp:219: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).
    char *pTempNew = new char[strlen(pTemp) + 1];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/Preferences.cpp:448: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).
    gchar *szName = new gchar[strlen(szCurrentFilter) + 1];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:257:64:  [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).
    gtk_clipboard_set_text(pPrivate->pTextClipboard, the_text, strlen(the_text));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:258:67:  [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).
    gtk_clipboard_set_text(pPrivate->pPrimarySelection, the_text, strlen(the_text));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor.cpp:615: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).
  length = strlen(inbuffer);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_cspi.cpp:102: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).
  szNewText = new char[strlen(szText) + 1];
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_editor_external_xtest.cpp:87:2:  [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(200000);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:1114: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).
  if(strlen(szValue) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:1121: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).
  if(strlen(szValue) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:1127: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).
  if(strlen(szValue) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:1133: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).
  if(strlen(szValue) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/dasher_main.cpp:1139: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).
  if(strlen(szValue) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:18: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(name);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:129: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).
  name_len = strlen(keypath);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:191: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).
  length = 4 + (strlen(Value.c_str()) + 3) & ~3;
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:193: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).
  name_len = strlen(keypath);
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:202:49:  [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).
  *((unsigned long *)(buffer + 4 + name_len)) = strlen(Value.c_str());
data/dasher-5.0.0~beta~repack2/Src/Gtk2/gpesettings_store.cc:203:48:  [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).
  memcpy(buffer + 8 + name_len, Value.c_str(), strlen(Value.c_str()));
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:63:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(read (iFd, &sEvent, sizeof(struct js_event)) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:160:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(read (iFd, &sEvent, sizeof(struct js_event)) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/joystick_input.h:288:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(read (iFd, &sEvent, sizeof(struct js_event)) > 0) {
data/dasher-5.0.0~beta~repack2/Src/Gtk2/tilt_input.h:96:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int res = read(m_iFD, buf, 3); 
data/dasher-5.0.0~beta~repack2/Src/Test/LanguageModelling/main.cpp:129:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ifs.read(&strCompress[0], length);
data/dasher-5.0.0~beta~repack2/Src/Tools/ToshTilt/toshtilt.cpp:155: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).
	nRet = sendto(sock, buffer, strlen(buffer), 0, (LPSOCKADDR)&saRemote, sizeof(struct sockaddr));
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLog/main.cpp:419: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 (strlen(buffer) > 0)
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:216: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).
	if ((timeline != NULL) && (strlen(timeline) > 18))
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:223: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).
		if (strlen(strMs) == 1)
data/dasher-5.0.0~beta~repack2/Src/Tools/UserLogLoadTest/Utils.h:225: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).
		else if (strlen(strMs) == 2)
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2164:47:  [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).
                    NULL : CloneString(c_str, strlen(c_str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2174: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).
  const int length = strlen(ansi);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:2867:34:  [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).
    num_chars = static_cast<int>(wcslen(str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3034: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 size_t this_len = strlen(c_str());
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3035: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).
  const size_t suffix_len = strlen(suffix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3047: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 size_t this_len = strlen(c_str());
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:3048: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).
  const size_t suffix_len = strlen(suffix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:4494: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* const output = new char[strlen(str) + 1];
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:4540: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).
      segment = next_segment + strlen("]]>");
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:5701: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).
  const size_t prefix_len = strlen(prefix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:7731: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).
  const size_t full_regex_len = strlen(regex) + 10;
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest-all.cc:7985: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).
  const size_t len = strlen(regex);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2395:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2417:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/dasher-5.0.0~beta~repack2/Testing/gtest/fused-src/gtest/gtest.h:2772: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).
      ConstructNonNull(a_c_str, strlen(a_c_str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1333:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-port.h:1355:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/dasher-5.0.0~beta~repack2/Testing/gtest/include/gtest/internal/gtest-string.h:200: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).
      ConstructNonNull(a_c_str, strlen(a_c_str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2.cc:42: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).
  const size_t len = strlen(a_c_string);
data/dasher-5.0.0~beta~repack2/Testing/gtest/samples/sample2.h:78: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).
    return c_string_ == NULL ? 0 : strlen(c_string_);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:148: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).
  const size_t full_regex_len = strlen(regex) + 10;
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest-port.cc:402: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).
  const size_t len = strlen(regex);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:824:47:  [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).
                    NULL : CloneString(c_str, strlen(c_str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:834: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).
  const int length = strlen(ansi);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1527:34:  [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).
    num_chars = static_cast<int>(wcslen(str));
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1694: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 size_t this_len = strlen(c_str());
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1695: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).
  const size_t suffix_len = strlen(suffix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1707: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 size_t this_len = strlen(c_str());
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:1708: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).
  const size_t suffix_len = strlen(suffix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:3154: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* const output = new char[strlen(str) + 1];
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:3200: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).
      segment = next_segment + strlen("]]>");
data/dasher-5.0.0~beta~repack2/Testing/gtest/src/gtest.cc:4361: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).
  const size_t prefix_len = strlen(prefix);
data/dasher-5.0.0~beta~repack2/Testing/gtest/xcode/Samples/FrameworkSample/widget.cc:60:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, name_.c_str(), max_size-1);

ANALYSIS SUMMARY:

Hits = 376
Lines analyzed = 117731 in approximately 2.75 seconds (42885 lines/second)
Physical Source Lines of Code (SLOC) = 74168
Hits@level = [0] 263 [1] 107 [2] 174 [3]  46 [4]  49 [5]   0
Hits@level+ = [0+] 639 [1+] 376 [2+] 269 [3+]  95 [4+]  49 [5+]   0
Hits/KSLOC@level+ = [0+] 8.61558 [1+] 5.06957 [2+] 3.6269 [3+] 1.28088 [4+] 0.660662 [5+]   0
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.