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/zynaddsubfx-3.0.5/ExternalPrograms/Controller/Controller.C
Examining data/zynaddsubfx-3.0.5/ExternalPrograms/Controller/Controller.h
Examining data/zynaddsubfx-3.0.5/ExternalPrograms/Controller/main.C
Examining data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/Spliter.C
Examining data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/Spliter.h
Examining data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/main.C
Examining data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.cpp
Examining data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.h
Examining data/zynaddsubfx-3.0.5/src/Containers/NotePool.cpp
Examining data/zynaddsubfx-3.0.5/src/Containers/NotePool.h
Examining data/zynaddsubfx-3.0.5/src/Containers/ScratchString.cpp
Examining data/zynaddsubfx-3.0.5/src/Containers/ScratchString.h
Examining data/zynaddsubfx-3.0.5/src/DSP/AnalogFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/AnalogFilter.h
Examining data/zynaddsubfx-3.0.5/src/DSP/FFTwrapper.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/FFTwrapper.h
Examining data/zynaddsubfx-3.0.5/src/DSP/Filter.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/Filter.h
Examining data/zynaddsubfx-3.0.5/src/DSP/FormantFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/FormantFilter.h
Examining data/zynaddsubfx-3.0.5/src/DSP/SVFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/SVFilter.h
Examining data/zynaddsubfx-3.0.5/src/DSP/Unison.cpp
Examining data/zynaddsubfx-3.0.5/src/DSP/Unison.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Alienwah.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Alienwah.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Chorus.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Chorus.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Distorsion.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Distorsion.h
Examining data/zynaddsubfx-3.0.5/src/Effects/DynamicFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/DynamicFilter.h
Examining data/zynaddsubfx-3.0.5/src/Effects/EQ.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/EQ.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Echo.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Echo.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Effect.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Effect.h
Examining data/zynaddsubfx-3.0.5/src/Effects/EffectLFO.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/EffectLFO.h
Examining data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Phaser.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Phaser.h
Examining data/zynaddsubfx-3.0.5/src/Effects/Reverb.cpp
Examining data/zynaddsubfx-3.0.5/src/Effects/Reverb.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Allocator.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Allocator.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Bank.h
Examining data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/BankDb.h
Examining data/zynaddsubfx-3.0.5/src/Misc/CallbackRepeater.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/CallbackRepeater.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Config.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Config.h
Examining data/zynaddsubfx-3.0.5/src/Misc/LASHClient.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/LASHClient.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Master.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Master.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Microtonal.h
Examining data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Part.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Part.h
Examining data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Recorder.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Recorder.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Stereo.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Stereo.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Time.h
Examining data/zynaddsubfx-3.0.5/src/Misc/Util.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/Util.h
Examining data/zynaddsubfx-3.0.5/src/Misc/WavFile.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/WavFile.h
Examining data/zynaddsubfx-3.0.5/src/Misc/WaveShapeSmps.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/WaveShapeSmps.h
Examining data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp
Examining data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.h
Examining data/zynaddsubfx-3.0.5/src/Nio/AlsaEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/AlsaEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/AudioOut.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/AudioOut.h
Examining data/zynaddsubfx-3.0.5/src/Nio/Compressor.h
Examining data/zynaddsubfx-3.0.5/src/Nio/Engine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/Engine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/EngineMgr.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/EngineMgr.h
Examining data/zynaddsubfx-3.0.5/src/Nio/InMgr.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/InMgr.h
Examining data/zynaddsubfx-3.0.5/src/Nio/JackEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/JackEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/MidiIn.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/MidiIn.h
Examining data/zynaddsubfx-3.0.5/src/Nio/Nio.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/Nio.h
Examining data/zynaddsubfx-3.0.5/src/Nio/NulEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/NulEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/OssEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/OssMultiEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/OssMultiEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/OutMgr.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/OutMgr.h
Examining data/zynaddsubfx-3.0.5/src/Nio/PaEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/PaEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/SafeQueue.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/SafeQueue.h
Examining data/zynaddsubfx-3.0.5/src/Nio/WavEngine.cpp
Examining data/zynaddsubfx-3.0.5/src/Nio/WavEngine.h
Examining data/zynaddsubfx-3.0.5/src/Nio/ZynSema.h
Examining data/zynaddsubfx-3.0.5/src/Nio/jack_osc.h
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIControl.cpp
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIControl.h
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIControlDescription.cpp
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIControlDescription.h
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIaudiooutput.cpp
Examining data/zynaddsubfx-3.0.5/src/Output/DSSIaudiooutput.h
Examining data/zynaddsubfx-3.0.5/src/Params/ADnoteParameters.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/ADnoteParameters.h
Examining data/zynaddsubfx-3.0.5/src/Params/Controller.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/Controller.h
Examining data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.h
Examining data/zynaddsubfx-3.0.5/src/Params/FilterParams.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/FilterParams.h
Examining data/zynaddsubfx-3.0.5/src/Params/LFOParams.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/LFOParams.h
Examining data/zynaddsubfx-3.0.5/src/Params/PADnoteParameters.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/PADnoteParameters.h
Examining data/zynaddsubfx-3.0.5/src/Params/Presets.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/Presets.h
Examining data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/PresetsArray.h
Examining data/zynaddsubfx-3.0.5/src/Params/PresetsStore.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/PresetsStore.h
Examining data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.cpp
Examining data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/AbstractFX.hpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/AlienWah/AlienWah.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/AlienWah/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/Chorus/Chorus.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/Chorus/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/Distortion/Distortion.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/Distortion/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/DynamicFilter/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/DynamicFilter/DynamicFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/Echo/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/Echo/Echo.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/Phaser/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/Phaser/Phaser.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/Reverb/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/Reverb/Reverb.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/DistrhoPluginInfo.h
Examining data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI.cpp
Examining data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/ADnote.h
Examining data/zynaddsubfx-3.0.5/src/Synth/Envelope.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/Envelope.h
Examining data/zynaddsubfx-3.0.5/src/Synth/LFO.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/LFO.h
Examining data/zynaddsubfx-3.0.5/src/Synth/ModFilter.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/ModFilter.h
Examining data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/OscilGen.h
Examining data/zynaddsubfx-3.0.5/src/Synth/PADnote.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/PADnote.h
Examining data/zynaddsubfx-3.0.5/src/Synth/Resonance.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/Resonance.h
Examining data/zynaddsubfx-3.0.5/src/Synth/SUBnote.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/SUBnote.h
Examining data/zynaddsubfx-3.0.5/src/Synth/SynthNote.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/SynthNote.h
Examining data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.cpp
Examining data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.h
Examining data/zynaddsubfx-3.0.5/src/Tests/AdNoteTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/AllocatorTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/ControllerTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/EchoTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/EffectTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/InstrumentStats.cpp
Examining data/zynaddsubfx-3.0.5/src/Tests/KitTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/MemoryStressTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/MicrotonalTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/MiddlewareTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/MqTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/OscilGenTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/PadNoteTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/PluginTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/RandTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/RtAllocTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/SaveOSC.cpp
Examining data/zynaddsubfx-3.0.5/src/Tests/SubNoteTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/UnisonTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/WatchTest.h
Examining data/zynaddsubfx-3.0.5/src/Tests/XMLwrapperTest.h
Examining data/zynaddsubfx-3.0.5/src/UI/BankView.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/BankView.h
Examining data/zynaddsubfx-3.0.5/src/UI/Connection.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Connection.h
Examining data/zynaddsubfx-3.0.5/src/UI/ConnectionDummy.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_EQGraph.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_EQGraph.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Button.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Button.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Check.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Check.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Choice.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Choice.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Counter.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Counter.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Dial.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Dial.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_DialF.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_DialF.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Input.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Input.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Interface.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_ListView.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_ListView.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Numeric_Input.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Numeric_Input.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Output.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Output.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Pane.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Pane.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Roller.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Roller.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Slider.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Slider.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_TSlider.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_TSlider.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_VSlider.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_VSlider.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Value.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Value.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Widget.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Widget.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_OscilSpectrum.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Oscilloscope.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_PADnoteHarmonicProfile.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_PADnoteOvertonePosition.h
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Resonance_Graph.H
Examining data/zynaddsubfx-3.0.5/src/UI/Fl_Resonance_Graph.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/FormantFilterGraph.H
Examining data/zynaddsubfx-3.0.5/src/UI/FormantFilterGraph.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/NSM.C
Examining data/zynaddsubfx-3.0.5/src/UI/NSM.H
Examining data/zynaddsubfx-3.0.5/src/UI/NSM/Client.C
Examining data/zynaddsubfx-3.0.5/src/UI/NSM/Client.H
Examining data/zynaddsubfx-3.0.5/src/UI/NioUI.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/NioUI.h
Examining data/zynaddsubfx-3.0.5/src/UI/Osc_DataModel.h
Examining data/zynaddsubfx-3.0.5/src/UI/Osc_IntModel.h
Examining data/zynaddsubfx-3.0.5/src/UI/Osc_ListModel.h
Examining data/zynaddsubfx-3.0.5/src/UI/Osc_SimpleListModel.h
Examining data/zynaddsubfx-3.0.5/src/UI/PartNameButton.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/PartNameButton.h
Examining data/zynaddsubfx-3.0.5/src/UI/TipWin.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/TipWin.h
Examining data/zynaddsubfx-3.0.5/src/UI/VuMasterMeter.h
Examining data/zynaddsubfx-3.0.5/src/UI/VuMeter.h
Examining data/zynaddsubfx-3.0.5/src/UI/VuPartMeter.h
Examining data/zynaddsubfx-3.0.5/src/UI/WidgetPDial.cpp
Examining data/zynaddsubfx-3.0.5/src/UI/WidgetPDial.h
Examining data/zynaddsubfx-3.0.5/src/UI/common.H
Examining data/zynaddsubfx-3.0.5/src/UI/guimain.cpp
Examining data/zynaddsubfx-3.0.5/src/globals.cpp
Examining data/zynaddsubfx-3.0.5/src/globals.h
Examining data/zynaddsubfx-3.0.5/src/main.cpp
Examining data/zynaddsubfx-3.0.5/src/version.cpp
Examining data/zynaddsubfx-3.0.5/tlsf/tlsf.c
Examining data/zynaddsubfx-3.0.5/tlsf/tlsf.h
Examining data/zynaddsubfx-3.0.5/tlsf/tlsfbits.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Button.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Button.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Dial.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Dial.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Interface.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Pane.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Slider.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Slider.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Widget.H
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Undo_History.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/audio.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/complex/window.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Echo.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Echo.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Effect.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/EffectMgr.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/EffectMgr.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/LFO.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/LFO.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Oscil.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Oscil.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Synth.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/Synth.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/main.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/util.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/modular/util.h
Examining data/zynaddsubfx-3.0.5/rtosc/example/simple/synth.cc
Examining data/zynaddsubfx-3.0.5/rtosc/example/simple/synth.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/example/simple/ui.cc
Examining data/zynaddsubfx-3.0.5/rtosc/example/simple/ui.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/arg-val-cmp.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/arg-val-math.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/automations.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/bundle-foreach.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/default-value.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/miditable.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/ports-runtime.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/ports.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/pretty-format.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/rtosc-time.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/rtosc-version.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/rtosc.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/savefile.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/subtree-serialize.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/thread-link.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/typed-message.h
Examining data/zynaddsubfx-3.0.5/rtosc/include/rtosc/undo-history.h
Examining data/zynaddsubfx-3.0.5/rtosc/src/arg-val-cmp.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/arg-val-math.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/automations.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/miditable.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports-runtime.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/cpp/undo-history.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/rtosc-time.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/util.c
Examining data/zynaddsubfx-3.0.5/rtosc/src/util.h
Examining data/zynaddsubfx-3.0.5/rtosc/test/arg-val-cmp.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/arg-val-math.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/bundles.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/common.h
Examining data/zynaddsubfx-3.0.5/rtosc/test/default-value.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/empty-strings.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/fat-message.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/headerlib.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/liblo.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/message-alignment.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/metadata.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/null-messages.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/osc-spec.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/path-collapse.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/patterns.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/performance.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/port-checker-main.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/port-checker-testapp.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/port-checker-tester.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/port-checker.h
Examining data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/simple-messages.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/sugar.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/test-arg-iter.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/test-midi-mapper.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/test-walker.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/typed-template-test.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/undo-test.cpp
Examining data/zynaddsubfx-3.0.5/rtosc/test/util.c
Examining data/zynaddsubfx-3.0.5/rtosc/test/version.c
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Application.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Base.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Color.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Geometry.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Image.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/ImageWidgets.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/NanoVG.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/StandaloneWindow.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Widget.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/Window.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Application.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/ApplicationPrivateData.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Color.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Common.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Geometry.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Image.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/ImageWidgets.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/NanoVG.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Resources.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Resources.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Widget.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/WidgetPrivateData.hpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/Window.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl_utils.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/common.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/event.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/gl.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/glu.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_internal.h
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_win.cpp
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_x11.c
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c
Examining data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoInfo.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoPlugin.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoPluginMain.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUI.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUIMain.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUtils.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/Base64.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/ExternalWindow.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/LeakDetector.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/Mutex.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/ScopedPointer.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/Sleep.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/extra/Thread.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoDefines.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPlugin.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginCarla.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginChecks.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginInternal.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginJack.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLADSPA+DSSI.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2export.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUI.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIInternal.hpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUILV2.cpp
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/dssi.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/seq_event-compat.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/ladspa/ladspa.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-forge.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-helpers.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-util.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/buf-size.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/data-access.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/dynmanifest.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/event-helpers.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/event.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/instance-access.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/log.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/logger.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2-midifunctions.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2-miditype.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2_external_ui.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2_kxstudio_properties.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2_programs.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2_rtmempool.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/midi.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/morph.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/options.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/parameters.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/patch.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/port-groups.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/port-props.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/presets.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/resize-port.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/state.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/time.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/ui.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/units.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/uri-map.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/urid.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/worker.h
Examining data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h
Examining data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c

FINAL RESULTS:

data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:93:25:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                        strncat(buf, "\n", sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:98:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(buf, tmpbuf, sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:119:25:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                        strncat(buf, "\n", sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:121:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(buf, tmpbuf, sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:855:17:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                strncat(buf, "\n", sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:860:13:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
            strncat(buf, tmpbuf, sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:870:17:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                strncat(buf, "\n", sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:872:13:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
            strncat(buf, tmpbuf, sizeof(buf)-1);
data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.cpp:36:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
        strncat(identity, id, sizeof(identity));
data/zynaddsubfx-3.0.5/DPF/dgl/src/Window.cpp:53:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define DBGp(...) std::fprintf(stderr, __VA_ARGS__);
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_internal.h:38:33:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define PUGL_LOG(str)       fprintf(stderr, "pugl: " str)
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_internal.h:39:33:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define PUGL_LOGF(fmt, ...) fprintf(stderr, "pugl: " fmt, __VA_ARGS__)
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:173:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (path, R_OK)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:198:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (_recentlist[_recentcnt].path, path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:270:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (fn, R_OK)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:314:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s" PATHSEP "%s" PATHSEP "recent", xdg, appname);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:321:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s%s" PATHSEP "Application Data" PATHSEP "%s" PATHSEP "recent.txt", homedrive, homepath, appname);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:327:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s/Library/Preferences/%s/recent", home, appname);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:333:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s/.local/share/%s/recent", home, appname);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1176:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (tp, path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1177:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (tp, name);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1178:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (tp, R_OK)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1200:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (_dirlist[i].name, name);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1260: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 (_cur_path, path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1299:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy (_pathbtn[i].name, t1);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1315: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 (_rv_open, _dirlist[item].rfp->path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1319:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (tp, _cur_path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1320:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (tp, _dirlist[item].name);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1326: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 (_rv_open, tp);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1606:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat (path, _pathbtn[i].name);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1664:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (_placelist[_placecnt].path, path);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1665:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (_placelist[_placecnt].name, name);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1692:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (path, R_OK)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1713:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (fn, R_OK)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1835: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 (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1854: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 (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1861: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 (tmp, getenv ("XDG_CONFIG_HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1868: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 (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2201:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
								strcat (path, _pathbtn[i].name);
data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUtils.hpp:97:14:  [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.
        std::vfprintf(stdout, fmt, args);
data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUtils.hpp:113:14:  [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.
        std::vfprintf(stdout, fmt, args);
data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUtils.hpp:128:14:  [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.
        std::vfprintf(stderr, fmt, args);
data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoUtils.hpp:144:14:  [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.
        std::vfprintf(stderr, fmt, args);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/ExternalWindow.hpp:97:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execvp(args[0], (char**)args);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:107:14:  [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.
        std::snprintf(strBuf, 0xff, hexadecimal ? "0x%x" : "%u", value);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:135:14:  [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.
        std::snprintf(strBuf, 0xff, hexadecimal ? "0x%lx" : "%lu", value);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:163:14:  [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.
        std::snprintf(strBuf, 0xff, hexadecimal ? "0x%llx" : "%llu", value);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:720:14:  [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).
        std::strcpy(newBuf, fBuffer);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:721:14:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        std::strcat(newBuf, strBuf);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:738:14:  [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).
        std::strcpy(newBuf, fBuffer);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:741:18:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            std::strcat(newBuf, strBuf);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:796:18:  [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).
            std::strcpy(fBuffer, strBuf);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:828:10:  [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).
    std::strcpy(newBuf, strBufBefore);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:829:10:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    std::strcat(newBuf, strBufAfter);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:841:10:  [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).
    std::strcpy(newBuf, strBufBefore);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:842:10:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    std::strcat(newBuf, strBufAfter);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:20:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# error DSSI UIs do not support direct access!
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:52:14:  [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).
        std::strcpy(targetPath, path);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:60:14:  [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).
        std::strcpy(targetPath, path);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:68:14:  [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).
        std::strcpy(targetPath, path);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:76:14:  [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).
        std::strcpy(targetPath, path);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:84:14:  [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).
        std::strcpy(targetPath, path);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:409: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(pluginPath, oscServerPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:410:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(pluginPath, oscPath+1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:414: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(oscPathConfigure, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:420: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(oscPathControl, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:430: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(oscPathProgram, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:436: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(oscPathSampleRate, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:441: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(oscPathShow, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:446: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(oscPathHide, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:451: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(oscPathQuit, oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/log.h:45:59:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define LV2_LOG_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/log.h:76:8:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	int (*printf)(LV2_Log_Handle handle,
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/log.h:89:8:  [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.
	int (*vprintf)(LV2_Log_Handle handle,
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/logger.h:84:23:  [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.
		return logger->log->vprintf(logger->log->handle, type, fmt, args);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/logger.h:86:10:  [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.
		return vfprintf(stderr, fmt, args);
data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c:74:13:  [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(basename, base2+1);
data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c:79:13:  [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(basename, argv[1]+2);
data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c:84:13:  [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(basename, argv[1]);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:942:13:  [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(loc_copy, loc);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp:72:13:  [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(location+1, path);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:37:19:  [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.
    int written = vsnprintf(str, size, format, args);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:705:5:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
    sscanf(*src, fmt, &rd);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:727:5:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
    sscanf(src, fmt, &rd);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1758:29:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
                            sscanf(src, fmtstr, &arg->val.h, &rd); break;
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1760:29:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
                            sscanf(src, fmtstr, &arg->val.i, &rd); break;
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1762:29:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
                            sscanf(src, fmtstr, &arg->val.f, &rd); break;
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1764:29:  [4] (buffer) sscanf:
  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. If the scanf format is influenceable by an
  attacker, it's exploitable.
                            sscanf(src, fmtstr, &arg->val.d, &rd); break;
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:720:21:  [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(old_loc, portname);
data/zynaddsubfx-3.0.5/src/Containers/NotePool.cpp:427:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            printf(format,
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:397:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy (tmp, path);
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:401:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy (tmp, path);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:304:13:  [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(d.loc, obj_rl.c_str());
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:322:17:  [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(d.loc, obj_rl.c_str());
data/zynaddsubfx-3.0.5/src/Misc/Util.cpp:172:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(-1 == access(pid_max_file, R_OK)) {
data/zynaddsubfx-3.0.5/src/Nio/Nio.cpp:141:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    FILE *ps = popen("ps aux", "r");
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:31: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(this->type, type);
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:43: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(type, this->type);
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:63: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(type, this->type);
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:30: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(this->type, type);
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:47: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(type, this->type);
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:71: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(type, this->type);
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:113: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(type, this->type);
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:113:17:  [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(repath, d.loc);
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:139:17:  [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(repath, d.loc);
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:185:13:  [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(repath, d.loc);
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:195:13:  [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(repath, d.loc);
data/zynaddsubfx-3.0.5/src/UI/TipWin.cpp:46:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(tmp, 9, format, f);
data/zynaddsubfx-3.0.5/src/main.cpp:616:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if(system(execAfterInit.c_str()) == -1)
data/zynaddsubfx-3.0.5/src/main.cpp:715:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(path, "zyn-fusion", addr, "--builtin", "--no-hotload",  0); };
data/zynaddsubfx-3.0.5/src/main.cpp:720:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                if(access(fusion.c_str(), X_OK))
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_win.cpp:113:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	std::srand((std::time(NULL)));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:312: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.
	const char *xdg = getenv("XDG_DATA_HOME");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:318: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 * homedrive = getenv("HOMEDRIVE");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:319:26:  [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 * homepath = getenv("HOMEPATH");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:325:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *home = getenv("HOME");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:331:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *home = getenv("HOME");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1832:33:  [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.
	add_place_places (dpy, "Home", getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1834:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("HOME")) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1835:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		strcpy (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1853: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.
	if (!parsed_bookmarks && getenv ("HOME")) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1854:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		strcpy (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1860: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.
	if (!parsed_bookmarks && getenv ("XDG_CONFIG_HOME")) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1861:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		strcpy (tmp, getenv ("XDG_CONFIG_HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1867: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.
	if (!parsed_bookmarks && getenv ("HOME")) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1868:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		strcpy (tmp, getenv ("HOME"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1959:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("XJFONT")) _XTESTFONT (getenv ("XJFONT"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1959:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("XJFONT")) _XTESTFONT (getenv ("XJFONT"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2065:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		fib_opendir (dpy, getenv ("HOME") ? getenv ("HOME") : "/", NULL);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2065:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		fib_opendir (dpy, getenv ("HOME") ? getenv ("HOME") : "/", NULL);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Mutex.hpp:110:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&fSection);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Mutex.hpp:139:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&fSection);
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:580:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *home_dirname = getenv("HOME");
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:131:42:  [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.
    snprintf(name, sizeof(name), "%s%s", getenv("HOME"),
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:469:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    snprintf(name, namesize, "%s%s", getenv("HOME"), "/.zynaddsubfxXML.cfg");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1341:28:  [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 *home = getenv("PWD");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1343: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.
            home = getenv("HOME");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1345: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.
            home = getenv("USERPROFILE");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1347: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.
            home = getenv("HOMEPATH");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1399:41:  [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 string save_dir  = string(getenv("HOME")) + "/.local";
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1410:41:  [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 string save_dir  = string(getenv("HOME")) + "/.local";
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1578:36:  [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 home = getenv("HOME");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2082:34:  [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 std::string home     = getenv("HOME");
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2126:24:  [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 home = getenv("HOME");
data/zynaddsubfx-3.0.5/src/Nio/AlsaEngine.cpp:291:26:  [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 *device = getenv("ALSA_DEVICE");
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp:214:26:  [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 *device = getenv("DSP_DEVICE");
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp:352:26:  [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 *device = getenv("MIDI_DEVICE");
data/zynaddsubfx-3.0.5/src/Nio/OssMultiEngine.cpp:84:26:  [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 *device = getenv("DSP_DEVICE");
data/zynaddsubfx-3.0.5/src/Params/ADnoteParameters.cpp:87:28:  [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.
            rOptions(none, random, 50%, 33%, 25%), rDefault(none),
data/zynaddsubfx-3.0.5/src/Params/LFOParams.cpp:68:54:  [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.
    rParamZyn(Pstartphase, rShort("start"), rSpecial(random),
data/zynaddsubfx-3.0.5/src/Params/LFOParams.cpp:72: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.
                exp1, exp2, random), rDefault(sine), "Shape of LFO"),
data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.cpp:105:55:  [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.
    rOption(Pstart, rShort("initial"), rOptions(zero, random, ones),
data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.cpp:106:22:  [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.
            rDefault(random),
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:58:18:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
        handle = LoadLibrary(path);
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:60:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
            handle = LoadLibrary("./libzest.dll");
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:62:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
            handle = LoadLibrary("libzest.dll");
data/zynaddsubfx-3.0.5/src/main.cpp:352:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        opt = getopt_long(argc,
data/zynaddsubfx-3.0.5/src/main.cpp:679:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *nsm_url = getenv("NSM_URL");
data/zynaddsubfx-3.0.5/src/main.cpp:724:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                    const char* cur = getenv("LD_LIBRARY_PATH");
data/zynaddsubfx-3.0.5/src/main.cpp:755:13:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        if(!CreateProcess(NULL, start_line,
data/zynaddsubfx-3.0.5/src/main.cpp:755:13:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        if(!CreateProcess(NULL, start_line,
data/zynaddsubfx-3.0.5/DPF/dgl/src/Color.cpp:122: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 rgbtmp[3] = { '\0', '\0', '\0' };
data/zynaddsubfx-3.0.5/DPF/dgl/src/NanoVG.cpp:199:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(xform, p.xform, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/NanoVG.cpp:200:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(extent, p.extent, sizeof(float)*2);
data/zynaddsubfx-3.0.5/DPF/dgl/src/NanoVG.cpp:211:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(p.xform, xform, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/NanoVG.cpp:212:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(p.extent, extent, sizeof(float)*2);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:363:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[64];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:792: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(&stash->states[stash->nstates], &stash->states[stash->nstates-1], sizeof(FONSstate));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:860:7:  [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(path, "rb");
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:1614: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(dst, src, stash->params.width);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:498:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(s2, s, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:500:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(t, s2, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:553: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(&ctx->states[ctx->nstates], &ctx->states[ctx->nstates-1], sizeof(NVGstate));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:677:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(xform, state->xform, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:917:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pxform, state->scissor.xform, sizeof(float)*6);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:1012:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&ctx->commands[ctx->ncommands], vals, nvals*sizeof(float));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:366: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 str[512+1];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:376: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 str[512+1];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:1272:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&gl->verts[offset], path->fill, sizeof(NVGvertex) * path->nfill);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:1278:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&gl->verts[offset], path->stroke, sizeof(NVGvertex) * path->nstroke);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:1348:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&gl->verts[offset], path->stroke, sizeof(NVGvertex) * path->nstroke);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg_gl.h:1393:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&gl->verts[call->triangleOffset], verts, sizeof(NVGvertex) * nverts);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:384:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:576: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).
   FILE *f = fopen(filename, "rb");
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:644: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).
   FILE *f = fopen(filename, "rb");
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:682: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).
   FILE *f = fopen(filename, "rb");
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:797:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy(buffer, s->img_buffer, blen);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:807:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buffer, s->img_buffer, n);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:2249:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(a->zout, a->zbuffer, len);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:2561:16:  [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(final_ + (j*yspc[p]+yorig[p])*a->s->img_x*out_n + (i*xspc[p]+xorig[p])*out_n,
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:3252:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char raw_data[4];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:4043:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy(g->out, old_out, g->w*g->h*4);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:4222:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[STBI__HDR_BUFLEN];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:4333:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[STBI__HDR_BUFLEN];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:4502:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(filename, "rb");
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:205: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 ttf_buffer[1<<20];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:206:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char temp_bitmap[512*512];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:213:32:  [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).
   fread(ttf_buffer, 1, 1<<20, fopen("c:/windows/fonts/times.ttf", "rb"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:253: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 ttf_buffer[1<<25];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:259:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:259:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:261:32:  [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).
   fread(ttf_buffer, 1, 1<<25, fopen(argc > 3 ? argv[3] : "c:/windows/fonts/arialbd.ttf", "rb"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:293: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[24<<20];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:294:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char screen[20][79];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:303:30:  [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).
   fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb"));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:356:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 : -1];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:357:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 : -1];
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:396:31:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   #define STBTT_memcpy       memcpy
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:1489:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char scanline_data[512], *scanline;
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_win.cpp:112: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 classNameBuf[256];
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_win.cpp:397:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char lb[2];
data/zynaddsubfx-3.0.5/DPF/dgl/src/pugl/pugl_x11.c:435: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      str[5];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:92:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char hexstr[3];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:218: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 tmp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:252: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 *rf = fopen (fn, "w");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:266: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 tmp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:273: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 *rf = fopen (fn, "r");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:285:14:  [2] (integer) atol:
  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).
		time_t t = atol (++s);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:310:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char recent_file[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:403:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char     _rv_open[1024] = "";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:405:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char     _fib_cfg_custom_places[1024] = "";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:406:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char     _fib_cfg_custom_font[256] = "";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:407:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char     _fib_cfg_title[128] = "xjadeo - Open Video File";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:410:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:416:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:417: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 strtime[32];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:418: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 strsize[32];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:427: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 text[24];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:436:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:441:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char           _cur_path[1024] = "";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1043: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 (f->strsize, "%.0f TB", f->size / 1099511627776.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1046: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 (f->strsize, "%.1f TB", f->size / 1099511627776.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1049: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 (f->strsize, "%.0f GB", f->size / 1073741824.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1052: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 (f->strsize, "%.1f GB", f->size / 1073741824.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1055: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 (f->strsize, "%.0f MB", f->size / 1048576.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1058: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 (f->strsize, "%.1f MB", f->size / 1048576.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1061: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 (f->strsize, "%.0f KB", f->size / 1024.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1064: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 (f->strsize, "%.1f KB", f->size / 1024.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1067: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 (f->strsize, "%.0f  B", f->size / 1.f);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1171: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 tp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1218: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 base[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1312: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 tp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[1024] = "/";
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1712: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 tmp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1716: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 *bm = fopen (fn, "r");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1799: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 *mt = fopen (mtab, "r");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1822: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 tmp[1024];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1836:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat (tmp, "/Desktop");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1855:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat (tmp, "/.gtk-bookmarks");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1862:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat (tmp, "/gtk-3.0/bookmarks");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1869:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat (tmp, "/.config/gtk-3.0/bookmarks");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1945:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char dl[1] = {1};
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1985:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (_btn_ok.text,     "Open");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1986:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (_btn_cancel.text, "Cancel");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1987:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (_btn_filter.text, "List All Files");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1988:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (_btn_places.text, "Show Places");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1989:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (_btn_hidden.text, "Show Hidden");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[100];
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2199:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
							char path[1024] = "/";
data/zynaddsubfx-3.0.5/DPF/distrho/extra/ExternalWindow.hpp:92:15:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
        pid = vfork();
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:49: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 ch[2];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:92: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:106: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:120: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:134: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:148: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:162: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:176: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:190: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:589: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 strBuf[kTmpBufSize+1];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:718: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              newBuf[newBufSize];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:736: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              newBuf[newBufSize];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:826: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 newBuf[newBufSize];
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:839: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 newBuf[newBufSize];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginInternal.hpp:434:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&fData->timePosition, &timePosition, sizeof(TimePosition));
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginJack.cpp:100: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginJack.cpp:336:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    std::memcpy(midiEvent.data, jevent.buffer, midiEvent.size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:280:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    std::memcpy(midiEvent.data, data, midiEvent.size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:625:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char msgBuf[msgSize];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:629:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                std::memcpy(msgBuf, key.buffer(), key.length());
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:630:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                std::memcpy(msgBuf+(key.length()+1), value.buffer(), value.length());
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:637:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                std::memcpy(LV2_ATOM_BODY(&aev->body), msgBuf, msgSize-1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2export.cpp:156: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2export.cpp:600: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 strBuf[0xff+1];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:283:14:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        std::strcpy(fProgramName, "Default");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:552:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                std::memcpy(fStateChunk, chunkStr.buffer(), chunkStr.length());
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:624:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    std::memcpy(midiEvent.data, vstMidiEvent->midiData, sizeof(uint8_t)*3);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:788: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 fProgramName[32+1];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:51: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 targetPath[std::strlen(path)+11];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:53:14:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        std::strcat(targetPath, "/configure");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:59: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 targetPath[std::strlen(path)+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:61:14:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        std::strcat(targetPath, "/control");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:67: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 targetPath[std::strlen(path)+6];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:69:14:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        std::strcat(targetPath, "/midi");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:75: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 targetPath[std::strlen(path)+8];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:77:14:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        std::strcat(targetPath, "/update");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:83: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 targetPath[std::strlen(path)+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:85:14:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        std::strcat(targetPath, "/exiting");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:408: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 pluginPath[strlen(oscServerPath)+oscPathSize];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:413: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 oscPathConfigure[oscPathSize+11];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:415:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathConfigure, "/configure");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:419: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 oscPathControl[oscPathSize+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:421:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathControl, "/control");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:429: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 oscPathProgram[oscPathSize+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:431:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathProgram, "/program");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:435: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 oscPathSampleRate[oscPathSize+13];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:437:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathSampleRate, "/sample-rate");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:440: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 oscPathShow[oscPathSize+6];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:442:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathShow, "/show");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:445: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 oscPathHide[oscPathSize+6];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:447:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathHide, "/hide");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:450: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 oscPathQuit[oscPathSize+6];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:452:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(oscPathQuit, "/quit");
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUILV2.cpp:243: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         atomBuf[atomSize];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUILV2.cpp:252:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(atomBuf + sizeof(LV2_Atom), tmpStr.buffer(), msgSize);
data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/seq_event-compat.h:198:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char unused[3];	/**< reserved */
data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/seq_event-compat.h:205:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char d[12];		/**< 8 bit value */
data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/seq_event-compat.h:234:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char unused[3];		/**< reserved */
data/zynaddsubfx-3.0.5/DPF/distrho/src/dssi/seq_event-compat.h:241:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                unsigned char d8[8];		/**< any data */
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-forge.h:325: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(mem, data, size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-helpers.h:234:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(LV2_ATOM_BODY(&ev->body), data, size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom-util.h:169:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(e, event, total_size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/atom.h:70: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.
typedef char lv2_atom_assert_double_fits_in_64_bits[
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/event-helpers.h:191:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((uint8_t*)ev + sizeof(LV2_Event), data, size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/event-helpers.h:251:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((uint8_t*)write_ev + sizeof(LV2_Event), data, ev->size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/lv2/lv2-midifunctions.h:86: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(state->midi->data + state->midi->size, data, size);
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:145: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 midiData[4];
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:161: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 dump[sizeof (VstMidiEvent)];
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:185: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 label[64];
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:191: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 shortLabel[8];
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:235: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 empty3[4 + 4 + 4];
data/zynaddsubfx-3.0.5/DPF/distrho/src/vestige/aeffectx.h:245: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 unknown1[4];
data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c:65: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 basename[strlen(argv[1])+1];
data/zynaddsubfx-3.0.5/ExternalPrograms/Controller/Controller.C:29: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 portname[50]; sprintf(portname, "Controller");
data/zynaddsubfx-3.0.5/ExternalPrograms/Controller/Controller.C:29:24:  [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.
    char portname[50]; sprintf(portname, "Controller");
data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/Spliter.C:22: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 portname[50]; sprintf(portname, "Spliter IN");
data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/Spliter.C:22:24:  [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.
    char portname[50]; sprintf(portname, "Spliter IN");
data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/Spliter.C:29: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(portname, "Spliter OUT");
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Dial.H:20: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 label_str[64];
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:42:13:  [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 pathname[1024];
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:73:25:  [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 tmpa[1024];
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:74:25:  [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 tmpb[1024];
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:77:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        int N = atoi(pound+1);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:65:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char s[40];
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:82:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf(s,"%c",'A'+COL);                // "A", "B", "C", etc.
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:87:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                    sprintf(s,"%03d:",ROW);                 // "001:", "002:", etc
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:91:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                    sprintf(s,"%d",ROW*MAX_COLS+COL);       // whatever..
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:120:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf(s, "%d:%d", ports[ROW].Chan, ports[ROW].CC);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_View.H:171: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/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Undo_History.h:26:13:  [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] = {0};
data/zynaddsubfx-3.0.5/rtosc/example/complex/audio.cpp:54:31:  [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.
void process_control(unsigned char control[3]);
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:79: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   serial[2048];
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:83:31:  [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.
void process_control(unsigned char control[3]);
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:122: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[1024];
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:155:31:  [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.
void process_control(unsigned char ctl[3])
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:170: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/zynaddsubfx-3.0.5/rtosc/example/complex/window.cpp:131:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char ports[2][4][3] = {
data/zynaddsubfx-3.0.5/rtosc/example/complex/window.cpp:151: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[1024];
data/zynaddsubfx-3.0.5/rtosc/example/modular/main.cpp:15: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[100];
data/zynaddsubfx-3.0.5/rtosc/example/modular/util.h:47: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).
    d.obj = &(((type*)d.obj)->var)[atoi(mm)]; \
data/zynaddsubfx-3.0.5/rtosc/example/simple/synth.cpp:36:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char dsp_osc_buf[2048];
data/zynaddsubfx-3.0.5/rtosc/example/simple/ui.cpp:10: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 gui_osc_buf[2048];
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/automations.h:36: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        param_path[128];
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/automations.h:64: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 name[128];
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/bundle-foreach.h:57: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).
    const unsigned max = atoi(name+1);
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/bundle-foreach.h:66:22:  [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.
        pos2 = pos + sprintf(pos,"%d",i);
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:320:25:  [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).
            rLIMIT(var, atoi) \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:342:25:  [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).
            rLIMIT(var, atoi) \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:356:31:  [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).
                       var >= atoi(prop["min"])); \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:358:31:  [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).
                       var <= atoi(prop["max"])); \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:365:29:  [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).
                rLIMIT(var, atoi) \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:437:28:  [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).
            unsigned idx = atoi(mm);
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:480:25:  [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).
            rLIMIT(var, atoi) \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/savefile.h:63: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 loc[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/automations.cpp:15: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(s.name, "Slot %d", i);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/automations.cpp:148:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256] = {0};
data/zynaddsubfx-3.0.5/rtosc/src/cpp/automations.cpp:207: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(s.name, "Slot %d", slot_id);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:15: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[buffersize];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:16: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 loc[buffersize] = "";
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:20: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 default_annotation[20] = "default";
data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:141: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:166: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 buf[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:176: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 buf[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:209: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 buf[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:232: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:301: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:339: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:356: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:439: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:456: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 buf[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:463: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/zynaddsubfx-3.0.5/rtosc/src/cpp/midimapper.cpp:556: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 msg[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/miditable.cpp:194: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[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:76: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[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:104: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[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:626:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(old_end, impl->fixed[port_num].c_str(),
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:713: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 mapbuf[20] = "map ";
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1001:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[1024] = "";
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1049: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).
                const unsigned max = atoi(name+1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1053:21:  [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(pos,"%d",i);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1116: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).
                const unsigned max = atoi(name+1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1120:21:  [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(pos,"[0,%d]",max-1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1143: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).
                const unsigned max = atoi(name+1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1147:21:  [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(pos,"[0,%d]",max-1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1257:19:  [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).
            min = atoi(m.title+4);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1261:23:  [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).
            min = min>atoi(m.title+4) ? atoi(m.title+4) : min;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1261:41:  [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).
            min = min>atoi(m.title+4) ? atoi(m.title+4) : min;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1271:19:  [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).
            max = atoi(m.title+4);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1275:23:  [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).
            max = max<atoi(m.title+4) ? atoi(m.title+4) : max;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1275:41:  [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).
            max = max<atoi(m.title+4) ? atoi(m.title+4) : max;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1288:18:  [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).
        result = atoi(m.title+4);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1495: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[1024];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:25: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 port_buffer[buffersize];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:63: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 loc[buffersize] = ""; // buffer to hold the dispatched path
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:67: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_with_port[buffersize];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:68: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 strbuf[buffersize]; // temporary string buffer for pretty-printing
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:183:21:  [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 cur_value_pretty[buffersize] = " ";
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:304: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 portname[buffersize], message[buffersize], strbuf[buffersize];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp: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 rtosc_vbuf[12], app_vbuf[12];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:481: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 appbuf[128];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp:39: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(dst+dst_len+4, src, src_len);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp:51: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 buf[128];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp:52: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 location[128];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/subtree-serialize.cpp:53: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 msg[128];
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:46:9:  [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(ring->buffer+ring->write, data,    w1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:47:9:  [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(ring->buffer,             data+w1, w2);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:49:9:  [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(ring->buffer+ring->write, data, len);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:62:9:  [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(data,    ring->buffer+ring->read, r1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:63:9:  [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(data+r1, ring->buffer,             r2);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:65:9:  [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(data, ring->buffer+ring->read, len);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/undo-history.cpp:59:9:  [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(data, msg, len);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/undo-history.cpp:80:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tmp[256];
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:20: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).
    unsigned max = atoi(*pattern);
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:21: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).
    unsigned val = atoi(*msg);
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:172:70:  [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).
(An exclamation point anywhere besides the first character after the open bracket has no special meaning.)
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:276: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 patternbuf[256];
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:299: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).
            return atoi(a) < atoi(b+1);
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:299: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).
            return atoi(a) < atoi(b+1);
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:328: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 subpattern[256];
data/zynaddsubfx-3.0.5/rtosc/src/dispatch.c:329: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 submessage[256];
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:271:9:  [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(++arg, lhsarg, incsize(lhsarg) * sizeof(rtosc_arg_val_t));
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:418:21:  [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 fmtstr[8];
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:450:13:  [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 fmtstr[9];
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1742:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char bytes16[16];
data/zynaddsubfx-3.0.5/rtosc/src/rtosc-time.c:39: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 secfracs_as_hex[16];
data/zynaddsubfx-3.0.5/rtosc/src/rtosc-time.c:93: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 lossless[16];
data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c:844:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(buffer, "#bundle");
data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c:856:9:  [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, msg, size);
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-cmp.c:13: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 tc_full[1024]; // descr. for full testcase name
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-math.c:28: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 str[16];
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-math.c:43: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 str[16];
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-math.c:69: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 str[20];
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-math.c:88: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 str[16];
data/zynaddsubfx-3.0.5/rtosc/test/bundles.c:5: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_a[256];
data/zynaddsubfx-3.0.5/rtosc/test/bundles.c:6: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_b[256];
data/zynaddsubfx-3.0.5/rtosc/test/bundles.c:7: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_c[256];
data/zynaddsubfx-3.0.5/rtosc/test/common.h:188: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 mask[longer];
data/zynaddsubfx-3.0.5/rtosc/test/default-value.cpp:258: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 cur_rtosc_buf[12];
data/zynaddsubfx-3.0.5/rtosc/test/default-value.cpp:369:33:  [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/zynaddsubfx-3.0.5/rtosc/test/default-value.cpp:377:33:  [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(portname+1, "new", 3);
data/zynaddsubfx-3.0.5/rtosc/test/empty-strings.c:4: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[1024];
data/zynaddsubfx-3.0.5/rtosc/test/fat-message.c:7: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[1024];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:8: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 buffer1[128];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:10: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 buffer2[1024];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:12: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 buffer3[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:14: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 buffer4[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:15: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 buffer5[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:21: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 buffer6[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:44: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 buffer6[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:71: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 buffer6[2048];
data/zynaddsubfx-3.0.5/rtosc/test/liblo.c:88: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 buffer6[2048];
data/zynaddsubfx-3.0.5/rtosc/test/message-alignment.c:6: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[1024];
data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c:5: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_a[256];
data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c:6: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_b[256];
data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c:7: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_c[256];
data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c:8: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_d[256];
data/zynaddsubfx-3.0.5/rtosc/test/nested-bundles.c:9: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_e[256];
data/zynaddsubfx-3.0.5/rtosc/test/osc-spec.c:7: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/zynaddsubfx-3.0.5/rtosc/test/osc-spec.c:9:16:  [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 unsigned char message_one[4*8] = {
data/zynaddsubfx-3.0.5/rtosc/test/osc-spec.c:20:16:  [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 unsigned char message_two[4*10] = {
data/zynaddsubfx-3.0.5/rtosc/test/patterns.c:8: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.
const char paths[12][32] = {
data/zynaddsubfx-3.0.5/rtosc/test/patterns.c:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[256];
data/zynaddsubfx-3.0.5/rtosc/test/performance.cpp:113: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 events[20][1024];
data/zynaddsubfx-3.0.5/rtosc/test/performance.cpp:114: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 loc_buffer[1024];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker-testapp.cpp: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 recv_buffer[2048];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker-testapp.cpp:254: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*20];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:186: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[2048];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:298:27:  [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).
            bundle_size = atoi(full_path.data() + hash_pos + 1);
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:334:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    ++mappings[atoi(x.title + 4)];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:356:21:  [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 pretty_strbuf[8096];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:780: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 loc_buffer[4096] = { 0 };
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.h:119:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *exp_paths[max_exp_paths+1];
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:22: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 tc_full[tc_len]; // descr. for full testcase name
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:24: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 strbuf[strbuflen];
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:35:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(tc_full, "scan \"");
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:42: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 printed[len];
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:47:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(tc_full, "print \"");
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:53:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(tc_full, "print \"");
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:443: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 tc_full[tc_len]; // descr. for full testcase name
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:447:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(tc_full, "find 1st invalid arg in \"");
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:461: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 strbuf[strbuflen];
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:464: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 msgbuf[msgbuflen];
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:480: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 printed[len];
data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:26: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  blam[64];
data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:51: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/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:52: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 buffera[2048];
data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:54: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 bufferb[2048];
data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:56: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 bufferc[2048];
data/zynaddsubfx-3.0.5/rtosc/test/serializer.cpp:63: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 rtdatabuf[100];
data/zynaddsubfx-3.0.5/rtosc/test/simple-messages.c:8: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/zynaddsubfx-3.0.5/rtosc/test/simple-messages.c:9: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 buffer2[256];
data/zynaddsubfx-3.0.5/rtosc/test/test-arg-iter.c:7: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[1024];
data/zynaddsubfx-3.0.5/rtosc/test/test-arg-iter.c:125: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 speed_check_type[4097];
data/zynaddsubfx-3.0.5/rtosc/test/test-arg-iter.c:127: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[4096*8];
data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp:117: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 loc[128];
data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp:139: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 loc[128];
data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp:167: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 loc[128];
data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp:198: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 loc[128];
data/zynaddsubfx-3.0.5/rtosc/test/test-automation.cpp:228: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 loc[128];
data/zynaddsubfx-3.0.5/rtosc/test/test-walker.cpp:26: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[1024];
data/zynaddsubfx-3.0.5/rtosc/test/typed-template-test.cpp:54: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/zynaddsubfx-3.0.5/rtosc/test/typed-template-test.cpp:55: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 buf2[1024];
data/zynaddsubfx-3.0.5/rtosc/test/undo-test.cpp:30: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 reply_buf[256];
data/zynaddsubfx-3.0.5/rtosc/test/undo-test.cpp:67: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 message_buff[256];
data/zynaddsubfx-3.0.5/rtosc/test/util.c:7: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 dest[32];
data/zynaddsubfx-3.0.5/rtosc/test/version.c:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/zynaddsubfx-3.0.5/src/Containers/ScratchString.h:18: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 c_str[SCRATCH_SIZE];
data/zynaddsubfx-3.0.5/src/DSP/AnalogFilter.cpp:394:9:  [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(ismp, smp, bufferbytes);
data/zynaddsubfx-3.0.5/src/DSP/FFTwrapper.cpp:69: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((void *)freqs, (const void *)fft, fftsize * sizeof(double));
data/zynaddsubfx-3.0.5/src/DSP/FFTwrapper.cpp:75: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((void *)fft, (const void *)freqs, fftsize * sizeof(double));
data/zynaddsubfx-3.0.5/src/DSP/FormantFilter.cpp:198: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(inbuffer, smp, bufferbytes);
data/zynaddsubfx-3.0.5/src/DSP/SVFilter.cpp:253:9:  [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(ismp, smp, bufferbytes);
data/zynaddsubfx-3.0.5/src/Effects/Alienwah.cpp:190:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/Chorus.cpp:218:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/Distorsion.cpp:69:13:  [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         arg_str[128+1] = {0};
data/zynaddsubfx-3.0.5/src/Effects/Distorsion.cpp:166:9:  [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(efxoutr, efxoutl, bufferbytes);
data/zynaddsubfx-3.0.5/src/Effects/Distorsion.cpp:219:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/DynamicFilter.cpp:280:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/EQ.cpp:28: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).
    int nfilt = atoi(msg-2); \
data/zynaddsubfx-3.0.5/src/Effects/EQ.cpp:83:13:  [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        type[MAX_EQ_BANDS*MAX_FILTER_STAGES*3*2+1] = {};
data/zynaddsubfx-3.0.5/src/Effects/EQ.cpp:165:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/Echo.cpp:209:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:85:57:  [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).
                d.reply(d.loc, "i", eff->geteffectparrt(atoi(mm)));
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:87: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).
                eff->seteffectparrt(atoi(mm), rtosc_argument(msg, 0).i);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:88:61:  [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).
                d.broadcast(d.loc, "i", eff->geteffectparrt(atoi(mm)));
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:90: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).
                eff->seteffectparrt(atoi(mm), 127);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:91:61:  [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).
                d.broadcast(d.loc, "i", eff->geteffectparrt(atoi(mm)));
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:93: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).
                eff->seteffectparrt(atoi(mm), 0);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:94:61:  [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).
                d.broadcast(d.loc, "i", eff->geteffectparrt(atoi(mm)));
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:101:13:  [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 loc[1024];
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:115:21:  [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(tail+1, "parameter%d", i);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:386:9:  [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(smpsl, efxoutl, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.cpp:387:9:  [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(smpsr, efxoutr, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Effects/EffectMgr.h:104: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 settings[128];
data/zynaddsubfx-3.0.5/src/Effects/Phaser.cpp:410:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Effects/Reverb.cpp:440:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char presets[NUM_PRESETS][PRESET_SIZE] = {
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:111: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   tmpfilename[100 + 1];
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:157:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(ins[ninstrument].filename.c_str(), "r");
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:178: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      tmpfilename[maxfilename + 20];
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:189:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(filename.c_str(), "r");
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:313:21:  [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 *tmpfile = fopen(tmpfilename.c_str(), "w+");
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:314:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fclose(tmpfile);
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:383: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 path[1024];
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:387:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(path, "banks");
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:396:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char tmp[1024];
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:399:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat (tmp, "banks");
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:403:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat (tmp, "../Resources/banks"); // VST
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:130: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 name[512] = {0};
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:152:24:  [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).
            bind(type, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:153:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            bind(id, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:154:23:  [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).
            bind(add, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:155:23:  [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).
            bind(pad, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:156:23:  [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).
            bind(sub, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:157:24:  [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).
            bind(time, atoi);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:323:13:  [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 author[1024];
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:324:13:  [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 comments[1024];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:67:13:  [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         types[MAX_BANK_ROOT_DIRS+1];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:82:13:  [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*5];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:100:13:  [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         types[MAX_BANK_ROOT_DIRS+1];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:115:13:  [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*5];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:229: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 filename[MAX_STRING_SIZE];
data/zynaddsubfx-3.0.5/src/Misc/Config.cpp:284: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 filename[MAX_STRING_SIZE];
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:71:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int ind1 = atoi(index_1);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:75:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int ind2 = atoi(m);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:103:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int ind1 = atoi(index_1);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:107:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int ind2 = atoi(m);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:125:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int num = atoi(msg);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:394:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
       char        types[6+2*NUM_MIDI_PARTS+1] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:425: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 keys[129] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:708:40:  [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).
                        slot.midi_cc = atoi(node["midi-cc"].c_str());
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:847: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 loc_buf[1024];
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1127: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 loc_buf[1024];
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1375:13:  [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(outl + out_off, bufl + off, sizeof(float) * smps);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1376:13:  [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(outr + out_off, bufr + off, sizeof(float) * smps);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1388:13:  [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(outl + out_off, bufl + off, sizeof(float) * nsamples);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1389:13:  [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(outr + out_off, bufr + off, sizeof(float) * nsamples);
data/zynaddsubfx-3.0.5/src/Misc/Master.h:51: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 last_xmz[XMZ_PATH_MAX];
data/zynaddsubfx-3.0.5/src/Misc/Master.h:148:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Psysefxvol[NUM_SYS_EFX][NUM_MIDI_PARTS];
data/zynaddsubfx-3.0.5/src/Misc/Master.h:149:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Psysefxsend[NUM_SYS_EFX][NUM_SYS_EFX];
data/zynaddsubfx-3.0.5/src/Misc/Master.h:175:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char fakepeakpart[NUM_MIDI_PARTS]; //this is used to compute the "peak" when the part is disabled
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:85:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[100*MAX_OCTAVE_SIZE] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:86:13:  [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 tmpbuf[100] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:105:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[100*MAX_OCTAVE_SIZE] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:106:13:  [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 tmpbuf[100] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:585:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *file = fopen(filename, "r");
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:586: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  tmp[500];
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:638:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *file = fopen(filename, "r");
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:641: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  tmp[500];
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:851: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 buf[100*MAX_OCTAVE_SIZE] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:852: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 tmpbuf[100] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:866: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 buf[100*MAX_OCTAVE_SIZE] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:867: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 tmpbuf[100] = {0};
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.h:54: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 Pname[MICROTONAL_MAX_NAME_LEN];
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.h:55: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 Pcomment[MICROTONAL_MAX_NAME_LEN];
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.h:130: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 Pname[MICROTONAL_MAX_NAME_LEN];
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.h:132: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 Pcomment[MICROTONAL_MAX_NAME_LEN];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:114: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[2048];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:122: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 reply_buffer[1024*20];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:942:16:  [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(mm);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:998: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        types[MAX_BANKS*2+1]={0};
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1011:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *types[17];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1029: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        t[17+1]={0};
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1039:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *types[8];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1048: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        t[8+1]={0};
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1141: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 res_type[MAX_SEARCH+1] = {};
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1154: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 res_type[MAX_SEARCH+1] = {};
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1262:13:  [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/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1623:13:  [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/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1693:9:  [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(save_buf, msg, bytes);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1806:9:  [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(save_buf, msg, bytes);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1946:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const int part = atoi(tmp+4);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1953:21:  [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).
    const int kit = atoi(tmp+3);
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2101:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int id = atoi(filename+strlen(prefix));
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2165: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[1024];
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2177: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[1024];
data/zynaddsubfx-3.0.5/src/Misc/Part.cpp:943:36:  [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.
            xml.addparstr("name", (char *)kit[i].Pname);
data/zynaddsubfx-3.0.5/src/Misc/Part.cpp:1140:36:  [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.
            xml.getparstr("name", (char *)kit[i].Pname, PART_MAX_NAME_LEN);
data/zynaddsubfx-3.0.5/src/Misc/Part.h:140:13:  [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          Pauthor[MAX_INFO_TEXT_SIZE + 1];
data/zynaddsubfx-3.0.5/src/Misc/Part.h:141:13:  [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          Pcomments[MAX_INFO_TEXT_SIZE + 1];
data/zynaddsubfx-3.0.5/src/Misc/Part.h:158:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Pefxroute[NUM_PART_EFX]; //how the effect's output is routed(to next effect/to out)
data/zynaddsubfx-3.0.5/src/Misc/Part.h:206: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 prefix[64];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:166: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 msgbuf[1024];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:167: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 locbuf[1024];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:177: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 query[1024];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char query[1024];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:236: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[1024];
data/zynaddsubfx-3.0.5/src/Misc/PresetExtractor.cpp:278: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[1024];
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:78:19:  [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).
            min = atoi(m.title+4);
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:82:23:  [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).
            min = min>atoi(m.title+4) ? atoi(m.title+4) : min;
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:82:41:  [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).
            min = min>atoi(m.title+4) ? atoi(m.title+4) : min;
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:92:19:  [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).
            max = atoi(m.title+4);
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:96:23:  [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).
            max = max<atoi(m.title+4) ? atoi(m.title+4) : max;
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:96:41:  [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).
            max = max<atoi(m.title+4) ? atoi(m.title+4) : max;
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:215:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int id = atoi(m.title+4);
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:263: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[1024];
data/zynaddsubfx-3.0.5/src/Misc/Util.cpp:193: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 result_str[max_pid_len << 1];
data/zynaddsubfx-3.0.5/src/Misc/Util.cpp:242: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 argT[v.size()+1];
data/zynaddsubfx-3.0.5/src/Misc/WavFile.cpp:26:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      file(fopen(filename.c_str(), "w"))
data/zynaddsubfx-3.0.5/src/Misc/WavFile.cpp:32: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 tmp[44];
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:218: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 = fopen(filename, "w");
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:229: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 options[10];
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:254: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[11];
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:256:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "0x%.8X", convert.out);
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:357: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 fetchBuf[bufSize + 1];      //fetch buffer
data/zynaddsubfx-3.0.5/src/Nio/JackEngine.cpp:345: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(audio.portBuffs[0], smp.l, bufferSize * sizeof(float));
data/zynaddsubfx-3.0.5/src/Nio/JackEngine.cpp:346: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(audio.portBuffs[1], smp.r, bufferSize * sizeof(float));
data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp:91: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 portName[20];
data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp:148: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(buffers[0], smp.l, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp:149: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(buffers[1], smp.r, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp:154:9:  [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(buffers[2*i + 2], master.part[i]->partoutl, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Nio/JackMultiEngine.cpp:155:9:  [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(buffers[2*i + 3], master.part[i]->partoutr, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Nio/Nio.cpp:142: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[4096];
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp:219:20:  [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).
    audio.handle = open(device, O_WRONLY, O_NONBLOCK);
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp:357: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).
    handle = open(device, O_RDONLY, O_NONBLOCK);
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.h:26:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char temp_0[4];
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.h:27:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char temp_1[4];
data/zynaddsubfx-3.0.5/src/Nio/OssMultiEngine.cpp:89: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).
    handle = open(device, O_WRONLY, O_NONBLOCK);
data/zynaddsubfx-3.0.5/src/Nio/OutMgr.cpp:175:9:  [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(priBuffCurrent.l, l, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Nio/OutMgr.cpp:176:9:  [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(priBuffCurrent.r, r, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Output/DSSIaudiooutput.cpp:539:33:  [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.
    newPortNames    = new const char *[newLadspaDescriptor->PortCount];
data/zynaddsubfx-3.0.5/src/Params/Controller.cpp:99: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(this, &c, sizeof(Controller));
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp:123:13:  [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 arg_types[N+1] = {0};
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp:140:13:  [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 arg_types[N+1] = {0};
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.h:49:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Penvdt[MAX_ENVELOPE_POINTS];
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.h:50:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Penvval[MAX_ENVELOPE_POINTS];
data/zynaddsubfx-3.0.5/src/Params/FilterParams.cpp:51:28:  [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).
            unsigned idx = atoi(mm);
data/zynaddsubfx-3.0.5/src/Params/FilterParams.cpp:124:28:  [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).
            unsigned idx = atoi(mm);
data/zynaddsubfx-3.0.5/src/Params/FilterParams.cpp:149:28:  [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).
            unsigned idx = atoi(mm);
data/zynaddsubfx-3.0.5/src/Params/FilterParams.cpp:229:13:  [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 type[2+3*FF_MAX_FORMANTS*FF_MAX_VOWELS + 1] = {0};
data/zynaddsubfx-3.0.5/src/Params/PADnoteParameters.cpp:93: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).
            unsigned n = atoi(mm);
data/zynaddsubfx-3.0.5/src/Params/PADnoteParameters.cpp:276:13:  [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        types[RES+2] = {0};
data/zynaddsubfx-3.0.5/src/Params/PADnoteParameters.cpp:998: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 tmpstr[20];
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:42: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:47:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(type, "Plfo");
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:62: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/Presets.cpp:68:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(type, "Plfo");
data/zynaddsubfx-3.0.5/src/Params/Presets.h:36: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:46: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:52:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(type, "Plfo");
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:70: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:76:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(type, "Plfo");
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:112: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 type[MAX_PRESETTYPE_SIZE];
data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.cpp:173: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        types[3*MAX_SUB_HARMONICS+2];
data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.h:100:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Phmag[MAX_SUB_HARMONICS];
data/zynaddsubfx-3.0.5/src/Params/SUBnoteParameters.h:103:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Phrelbw[MAX_SUB_HARMONICS];
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:52: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 path[1024];
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:56:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(path, "libzest.dll");
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:87:21:  [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).
            get_sym(open);
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:200:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char address[1024];
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp:214: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 c[2] = {0};
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI.cpp:92: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 urlAsString[32];
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI.cpp:93: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(urlAsString, "osc.udp://localhost:%i/", url);
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI.cpp:95: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 winIdAsString[32];
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI.cpp:96: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(winIdAsString, "%llu", (long long unsigned)(winId ? winId : 1));
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX.cpp:519:28:  [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).
            oscPort = std::atoi(url);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp:1424:17:  [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(tw, smps, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp:1591: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(outl, synth.denormalkillbuf, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp:1592: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(outr, synth.denormalkillbuf, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp:1820:9:  [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(outr, outl, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.cpp:1821:9:  [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(bypassr, bypassl, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/ADnote.h:318: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 firsttick[NUM_VOICES];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:106:64:  [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).
            unsigned char &phase = ((OscilGen*)d.obj)->Phphase[atoi(mm)];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:112:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char  repath[128];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:115:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(edit, "prepare");
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:131:60:  [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).
            unsigned char &mag = ((OscilGen*)d.obj)->Phmag[atoi(mm)];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:138:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char  repath[128];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:141:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(edit, "prepare");
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:184:13:  [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  repath[128];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.cpp:194:13:  [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  repath[128];
data/zynaddsubfx-3.0.5/src/Synth/OscilGen.h:60:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Phmag[MAX_AD_HARMONICS], Phphase[MAX_AD_HARMONICS]; //the MIDI parameters for mag. and phases
data/zynaddsubfx-3.0.5/src/Synth/Resonance.cpp:66:13:  [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        types[N_RES_POINTS+1] = {0};
data/zynaddsubfx-3.0.5/src/Synth/Resonance.h:54:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Prespoints[N_RES_POINTS]; //how many points define the resonance function
data/zynaddsubfx-3.0.5/src/Synth/SUBnote.cpp:514:9:  [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(tmpsmp, tmprnd, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/SUBnote.cpp:529: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(outl, synth.denormalkillbuf, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/SUBnote.cpp:530: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(outr, synth.denormalkillbuf, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/SUBnote.cpp:548:9:  [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(outr, outl, synth.bufferbytes);
data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.cpp:103:13:  [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        arg_types[MAX_SAMPLE+1] = {0};
data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.h:27: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          identity[128];
data/zynaddsubfx-3.0.5/src/Synth/WatchPoint.h:41: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    active_list[MAX_WATCH][MAX_WATCH_PATH];
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:205:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            FILE *f = fopen("test-midi-learn.xlz", "r");
data/zynaddsubfx-3.0.5/src/Tests/MicrotonalTest.h:85:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy((char *)other.Pname, "Myname"); //will be nicer with strings
data/zynaddsubfx-3.0.5/src/Tests/MicrotonalTest.h:108:19:  [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 *mapping[12] =
data/zynaddsubfx-3.0.5/src/Tests/MicrotonalTest.h:119:19:  [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 *tuning[7] =
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:82:42:  [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).
                                messages[atoi(mem->memory)]++;
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:88:33:  [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(mem->memory,"%d written by %d@op%d", i*OPS+op,i,op);
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:109: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).
                    messages[atoi(mem->memory)]++;
data/zynaddsubfx-3.0.5/src/UI/BankView.cpp:377:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int nslot         = atoi(msg);
data/zynaddsubfx-3.0.5/src/UI/BankView.h:50: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 labelstr[128];
data/zynaddsubfx-3.0.5/src/UI/Connection.cpp:226: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 buf[2048];
data/zynaddsubfx-3.0.5/src/UI/Connection.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 buffer[1024];
data/zynaddsubfx-3.0.5/src/UI/Connection.cpp:264: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[1024];
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp:53:9:  [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(Penvdt, b.data, MAX_ENVELOPE_POINTS);
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp:57:9:  [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(Penvval, b.data, MAX_ENVELOPE_POINTS);
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp:60:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int id = atoi(str+7);
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp:65:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int id = atoi(str+6);
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.cpp:200: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 tmpstr[20];
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.h:57: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 Penvdt[MAX_ENVELOPE_POINTS];
data/zynaddsubfx-3.0.5/src/UI/EnvelopeFreeEdit.h:58: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 Penvval[MAX_ENVELOPE_POINTS];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Numeric_Input.cpp:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Numeric_Input.cpp:45:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int x = atoi(ww.value());
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H:53:13:  [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 pathname[1024];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H:79:25:  [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 tmpa[1024];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H:80:25:  [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 tmpb[1024];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H:84:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        int N = atoi(pound+1);
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_VSlider.cpp:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Widget.cpp:62: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[1024];
data/zynaddsubfx-3.0.5/src/UI/Fl_OscilSpectrum.h:61:13:  [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(spc, data, N);
data/zynaddsubfx-3.0.5/src/UI/Fl_Oscilloscope.h:75:13:  [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(smps, data, N);
data/zynaddsubfx-3.0.5/src/UI/Fl_PADnoteHarmonicProfile.h:50:13:  [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(smps, data, N);
data/zynaddsubfx-3.0.5/src/UI/Fl_PADnoteOvertonePosition.h:135:13:  [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(nhr, data, nsamples*sizeof(float));
data/zynaddsubfx-3.0.5/src/UI/Fl_Resonance_Graph.H:51:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char Prespoints[N_RES_POINTS];
data/zynaddsubfx-3.0.5/src/UI/Fl_Resonance_Graph.cpp:210:9:  [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(Prespoints, arg.data, N_RES_POINTS);
data/zynaddsubfx-3.0.5/src/UI/FormantFilterGraph.cpp:67: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(&Pvowels[0], v, x);
data/zynaddsubfx-3.0.5/src/UI/FormantFilterGraph.cpp:162: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 tmpstr[20];
data/zynaddsubfx-3.0.5/src/UI/Osc_SimpleListModel.h:46:13:  [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         types[list.size()+1];
data/zynaddsubfx-3.0.5/src/UI/Osc_SimpleListModel.h:57:13:  [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*5];
data/zynaddsubfx-3.0.5/src/UI/TipWin.cpp:20:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(format, "%0.2f");
data/zynaddsubfx-3.0.5/src/UI/TipWin.cpp:45: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 tmp[10];
data/zynaddsubfx-3.0.5/src/UI/TipWin.h: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.
        char  format[6];
data/zynaddsubfx-3.0.5/src/UI/VuMasterMeter.h:99:13:  [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 tmpstr[10];
data/zynaddsubfx-3.0.5/src/UI/guimain.cpp:287: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[1024];
data/zynaddsubfx-3.0.5/src/UI/guimain.cpp:298: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[1024];
data/zynaddsubfx-3.0.5/src/UI/guimain.cpp:326:13:  [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/zynaddsubfx-3.0.5/src/UI/guimain.cpp:363:13:  [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/zynaddsubfx-3.0.5/src/UI/guimain.cpp:558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[8192];
data/zynaddsubfx-3.0.5/src/main.cpp:362:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        x = atoi(optarguments)
data/zynaddsubfx-3.0.5/src/main.cpp:412:45:  [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).
                    synth.oscilsize = tmp = atoi(optarguments);
data/zynaddsubfx-3.0.5/src/main.cpp:446: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).
                    preferred_port = atoi(optarguments);
data/zynaddsubfx-3.0.5/src/main.cpp:450:42:  [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).
                    auto_save_interval = atoi(optarguments);
data/zynaddsubfx-3.0.5/src/main.cpp:478:29:  [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).
                    wmidi = atoi(optarguments);
data/zynaddsubfx-3.0.5/src/main.cpp:600: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 msg[1024];
data/zynaddsubfx-3.0.5/src/main.cpp:633:13:  [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(copy, msg, len);
data/zynaddsubfx-3.0.5/src/main.cpp:747: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 start_line[256] = {0};
data/zynaddsubfx-3.0.5/tlsf/tlsf.c:83:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	typedef char _tlsf_glue(static_assert, __LINE__) [(exp) ? 1 : -1]
data/zynaddsubfx-3.0.5/tlsf/tlsf.c:1035:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(p, ptr, minsize);
data/zynaddsubfx-3.0.5/DPF/dgl/src/Color.cpp:119: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).
    std::size_t rgblen(std::strlen(rgb));
data/zynaddsubfx-3.0.5/DPF/dgl/src/Window.cpp:604:53:  [1] (buffer) strlen:
  Does not handle 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(title)
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:892:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(font->name, name, sizeof(font->name));
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:1248: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).
		end = str + strlen(str);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:1319: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).
		end = str + strlen(str);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/fontstash.h:1441: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).
		end = str + strlen(str);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:2299: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).
		end = string + strlen(string);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:2399: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).
		end = string + strlen(string);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/nanovg.c:2463: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).
		end = string + strlen(string);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:241:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int      (*read)  (void *user,char *data,int size);   // fill 'data' with 'size' bytes.  return number of bytes actually read 
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:740:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:767:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (s->io.read) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:779:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (s->io.read) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:792:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (s->io.read) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_image.h:799:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen);
data/zynaddsubfx-3.0.5/DPF/dgl/src/nanovg/stb_truetype.h:391: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).
   #define STBTT_strlen(x)    strlen(x)
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:87:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen (str);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:114: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).
	alloc = strlen (str) + 1;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:223:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(tmp);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:276: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).
			&& strlen (tmp) > 1
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:277: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).
			&& strlen (tmp) < sizeof(tmp))
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:280: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).
		tmp[strlen (tmp) - 1] = '\0'; // strip newline
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:313:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (xdg && (strlen(xdg) + strlen(appname) + 10) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:313:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (xdg && (strlen(xdg) + strlen(appname) + 10) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:320: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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(appname) + 29) < PATH_MAX) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:320:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(appname) + 29) < PATH_MAX) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:320:71:  [1] (buffer) strlen:
  Does not handle 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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(appname) + 29) < PATH_MAX) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:326: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 (home && (strlen(home) + strlen(appname) + 29) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:326:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (home && (strlen(home) + strlen(appname) + 29) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:332: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 (home && (strlen(home) + strlen(appname) + 22) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:332:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (home && (strlen(home) + strlen(appname) + 22) < sizeof(recent_file)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:488: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).
	XTextExtents (fontinfo, txt, strlen (txt), &font_direction, &font_ascent, &font_descent, &text_structure);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:489:41:  [1] (buffer) strlen:
  Does not handle 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 (w) *w = XTextWidth (fontinfo, txt, strlen (txt));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:597:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				_pathbtn[i].name, strlen (_pathbtn[i].name));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:776:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				_dirlist[j].name, strlen (_dirlist[j].name));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:782: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).
					_dirlist[j].strsize, strlen (_dirlist[j].strsize));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:786: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).
					_dirlist[j].strtime, strlen (_dirlist[j].strtime));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:868:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					_placelist[i].name, strlen (_placelist[i].name));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:918: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).
					_btns[i]->text, strlen (_btns[i]->text));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:969: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).
					_btns[i]->text, strlen (_btns[i]->text));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1222:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (base, _recentlist[j].path, len);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1241: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 (path) == 0 && _recentcnt > 0) { // XXX we should use a better indication for this
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1242:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy (_cur_path, "");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1246: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).
	assert (strlen (path) < sizeof(_cur_path) -1);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1247: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).
	assert (strlen (path) > 0);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1256:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy (_cur_path, "/");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1262: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).
		if (_cur_path[strlen (_cur_path) -1] != '/')
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1263:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat (_cur_path, "/");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1296:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy (_pathbtn[i].name, "/");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1607:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat (path, "/");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1680:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!url || strlen (url) < 1) return -1;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1681: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 (!name || strlen (name) < 1) return -1;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1720: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).
			&& strlen (tmp) > 1
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1721: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).
			&& strlen (tmp) < sizeof(tmp))
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1724: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).
		tmp[strlen (tmp) - 1] = '\0'; // strip newline
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1778:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp (mountpoint, ignore_mountpoints[i], strlen (ignore_mountpoints[i]))) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1786:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp (fs, ignore_fs[i], strlen (ignore_fs[i]))) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1791:44:  [1] (buffer) strlen:
  Does not handle 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 (!strncmp (device, ignore_devices[i], strlen (ignore_devices[i]))) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1844: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 (_fib_cfg_custom_places) > 0) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:1960:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (font_err && strlen (_fib_cfg_custom_font) > 0) _XTESTFONT (_fib_cfg_custom_font);
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2064: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 (_cur_path) || !fib_opendir (dpy, _cur_path, NULL)) {
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2202:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
								strcat (path, "/");
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2252: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 (v) >= sizeof(_cur_path) -1) return -2;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2253: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 (v) < 1) return -2;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2256:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_cur_path, v, sizeof(_cur_path));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2259: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 (v) >= sizeof(_fib_cfg_title) -1) return -2;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2260:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_title, v, sizeof(_fib_cfg_title));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2263: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 (v) >= sizeof(_fib_cfg_custom_font) -1) return -2;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2264:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_custom_font, v, sizeof(_fib_cfg_custom_font));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2267: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 (v) >= sizeof(_fib_cfg_custom_places) -1) return -2;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2268:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_custom_places, v, sizeof(_fib_cfg_custom_places));
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2353: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).
	const int l3 = strlen (name) - 3;
data/zynaddsubfx-3.0.5/DPF/dgl/src/sofd/libsofd.c:2421:3:  [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 (80000);
data/zynaddsubfx-3.0.5/DPF/distrho/DistrhoInfo.hpp:145:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   Input parameters are "read-only": the plugin can read them but not change them.
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Base64.hpp:66:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    static const uint8_t kBase64CharsLen(static_cast<uint8_t>(std::strlen(kBase64Chars)));
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Base64.hpp:98: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).
    ret.reserve(std::strlen(base64string)*3/4 + 4);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Base64.hpp:100: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).
    for (std::size_t l=0, len=std::strlen(base64string); l<len; ++l)
data/zynaddsubfx-3.0.5/DPF/distrho/extra/ExternalWindow.hpp:161:13:  [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(5*1000);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/Sleep.hpp:61:11:  [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(msecs * 1000);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:70: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).
            fBufferLen = std::strlen(strBuf);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:310:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const std::size_t prefixLen(std::strlen(prefix));
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:335:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const std::size_t suffixLen(std::strlen(suffix));
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:448:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const std::size_t strBufLen(std::strlen(strBuf));
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:717:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const std::size_t newBufSize = fBufferLen + std::strlen(strBuf) + 1;
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:735:81:  [1] (buffer) strlen:
  Does not handle 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 std::size_t newBufSize = fBufferLen + ((strBuf != nullptr) ? std::strlen(strBuf) : 0) + 1;
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:786:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            fBufferLen = (size > 0) ? size : std::strlen(strBuf);
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:825:92:  [1] (buffer) strlen:
  Does not handle 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 std::size_t newBufSize   = strBefore.length() + ((strBufAfter != nullptr) ? std::strlen(strBufAfter) : 0) + 1;
data/zynaddsubfx-3.0.5/DPF/distrho/extra/String.hpp:838:71:  [1] (buffer) strlen:
  Does not handle 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 std::size_t newBufSize  = ((strBufBefore != nullptr) ? std::strlen(strBufBefore) : 0) + strAfter.length() + 1;
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLADSPA+DSSI.cpp:285:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (std::strncmp(key, DSSI_RESERVED_CONFIGURE_PREFIX, std::strlen(DSSI_RESERVED_CONFIGURE_PREFIX) == 0))
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLADSPA+DSSI.cpp:287:66:  [1] (buffer) strlen:
  Does not handle 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 (std::strncmp(key, DSSI_GLOBAL_CONFIGURE_PREFIX, std::strlen(DSSI_GLOBAL_CONFIGURE_PREFIX) == 0))
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:802: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).
            const std::size_t length(std::strlen(value));
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginLV2.cpp:821:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const char* const value(key+std::strlen(key)+1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:71:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
void strncpy(char* const dst, const char* const src, const size_t size)
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:73:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    std::strncpy(dst, src, size-1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:355:26:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                DISTRHO::strncpy(fProgramName, programName, 32);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:363:26:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                DISTRHO::strncpy(programName, fProgramName, 24);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:371:26:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                DISTRHO::strncpy(programName, fProgramName, 24);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:580:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                value = key+(std::strlen(key)+1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:590:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                key = value+(std::strlen(value)+1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:970:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            DISTRHO::strncpy((char*)ptr, plugin.getParameterUnit(index), 8);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:978:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            DISTRHO::strncpy((char*)ptr, plugin.getParameterName(index), 16);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:993:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            DISTRHO::strncpy(cptr, plugin.getName(), 32);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:1001:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            DISTRHO::strncpy(cptr, plugin.getMaker(), 32);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoPluginVST.cpp:1009:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            DISTRHO::strncpy(cptr, plugin.getLabel(), 32);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:51: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).
        char targetPath[std::strlen(path)+11];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:59: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).
        char targetPath[std::strlen(path)+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:67: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).
        char targetPath[std::strlen(path)+6];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:75: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).
        char targetPath[std::strlen(path)+8];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:83: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).
        char targetPath[std::strlen(path)+9];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:402: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).
    size_t  oscPathSize = strlen(oscPath);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUIDSSI.cpp:408: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).
    char pluginPath[strlen(oscServerPath)+oscPathSize];
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUILV2.cpp:133: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).
            const char* const value = key+(std::strlen(key)+1);
data/zynaddsubfx-3.0.5/DPF/distrho/src/DistrhoUILV2.cpp:236: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).
        tmpStr[std::strlen(key)] = '\0';
data/zynaddsubfx-3.0.5/DPF/utils/lv2-ttl-generator/lv2_ttl_generator.c:65:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char basename[strlen(argv[1])+1];
data/zynaddsubfx-3.0.5/ExternalPrograms/Spliter/main.C:32:9:  [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(100000);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Dial.cpp:50:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(label_str, tmp.c_str(), sizeof(label_str)-1);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Dial.cpp:64:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(label_str, tmp.c_str(), sizeof(label_str)-1);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:75:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(tmpa, path.c_str(), 1024);
data/zynaddsubfx-3.0.5/rtosc/example/complex/Fl_Osc_Tree.H:99:108:  [1] (buffer) strlen:
  Does not handle 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(strchr(name,'/') && s.substr(0,(strchr(name,'/')-name)+1) == std::string(name).substr(0,strlen(name)-1)){
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:149: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(Adsr::ports["dv"]->metadata)<3)
data/zynaddsubfx-3.0.5/rtosc/example/complex/synth.cpp:213:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Synth::ports.dispatch(uToB.read()+1, d);
data/zynaddsubfx-3.0.5/rtosc/example/complex/window.cpp:270:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const char *msg = bToU.read();
data/zynaddsubfx-3.0.5/rtosc/example/simple/synth.cc:108:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dispatchB(uToB.read());
data/zynaddsubfx-3.0.5/rtosc/example/simple/ui.cc:85:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            dispatchU(bToU.read());
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/port-sugar.h:498:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(obj->name, rtosc_argument(msg, 0).s, length-1); \
data/zynaddsubfx-3.0.5/rtosc/include/rtosc/thread-link.h:73:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        msg_t read(void);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:41:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        assert(strlen(port_name) + strlen(dependent_port) + 5 < buffersize);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:41: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).
        assert(strlen(port_name) + strlen(dependent_port) + 5 < buffersize);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:42:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(dependent_port, port_name,
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:43: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).
                buffersize - strlen(dependent_port) - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:44:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
        strncat(dependent_port, "/../",
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:45: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).
                buffersize - strlen(dependent_port) - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:46:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(dependent_port, dependent,
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:47: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).
                buffersize - strlen(dependent_port) - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:64:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        assert(strlen(dependent_value) < 16); // must be an int
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:68:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        assert(strlen(default_annotation) + 1 + 16 < buffersize);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:69:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(default_variant, default_annotation,
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:70: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).
                buffersize - strlen(default_variant));
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:71:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
        strncat(default_variant, " ", buffersize - strlen(default_variant));
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:71:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strncat(default_variant, " ", buffersize - strlen(default_variant));
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:72:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(default_variant, dependent_value,
data/zynaddsubfx-3.0.5/rtosc/src/cpp/default-value.cpp:73: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).
                buffersize - strlen(default_variant));
data/zynaddsubfx-3.0.5/rtosc/src/cpp/miditable.cpp:161: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(s) > impl->len) {
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports-runtime.cpp:43: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).
        size_t nargs = strlen(args);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports-runtime.cpp:84:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    std::size_t addr_len = strlen(buffer_with_port);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports-runtime.cpp:143: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).
        nargs = strlen(args);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports-runtime.cpp:180:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    std::size_t addr_len = strlen(buffer_with_port);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:773:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static bool parent_path_p(char *read, char *start)
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:777:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read[0]=='.' && read[-1]=='.' && read[-2]=='/';
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:777:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read[0]=='.' && read[-1]=='.' && read[-2]=='/';
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:777:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read[0]=='.' && read[-1]=='.' && read[-2]=='/';
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:940:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int loclen = strlen(loc);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:944:17:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
                strncat(loc_copy, "/../", loc_size - loclen - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:945:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(loc_copy, enable_port, loc_size - loclen - 4 - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1006:17:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
                strncat(buf, "pointer", sizeof(buf) - strlen(buf) - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1006:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strncat(buf, "pointer", sizeof(buf) - strlen(buf) - 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1007: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).
                assert(1024 - strlen(buf) >= 8);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1008:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                fast_strcpy(buf + strlen(buf) + 1, ",", 2);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1057:25:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                        strcat(name_buffer, "/");
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1066:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                const char* old_end = name_buffer + strlen(name_buffer);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/ports.cpp:1124:25:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                        strcat(name_buffer, "/");
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:39:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(!strncmp(port_buffer, cmp, strlen(cmp)))
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:45: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).
        if((p->name[strlen(p->name)-1] != ':' && !strstr(p->name, "::"))
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:71:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        assert(strlen(port_buffer) + 1 < buffersize);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:82: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).
            portargs = p->name + strlen(p->name);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:167: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(!strncmp(port_buffer, cmp, strlen(cmp)))
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:189: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).
                                         NULL, strlen(port_buffer) + 1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:378:57:  [1] (buffer) strlen:
  Does not handle 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* portname_end = portname + strlen(portname);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/savefile.cpp:507:5:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    sscanf(file_content,
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:15:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    volatile off_t read;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:24:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const size_t r = ring->read;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:32:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const size_t r = ring->read;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:59:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(next_read < ring->read) {
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:62:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        memcpy(data,    ring->buffer+ring->read, r1);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:65:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        memcpy(data, ring->buffer+ring->read, len);
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:73:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    off_t  read      = ring->read;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:74:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r[0].data = ring->buffer+ring->read;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:75:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(read_size+read > ring->size) { //discontinuous
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:76:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        size_t r2 = (read_size+1+read)%ring->size;
data/zynaddsubfx-3.0.5/rtosc/src/cpp/thread-link.cpp:151:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
msg_t ThreadLink::read(void) {
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:426:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove(buffer + lastwrt, sep, strlen(sep)+1);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:634: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).
    size_t sep_len = strlen(opt->sep);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:703: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).
    assert(!strncmp(fmt + strlen(fmt) - 2, "%n", 2));
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:864: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).
    size_t explen = strlen(exp);
data/zynaddsubfx-3.0.5/rtosc/src/pretty-format.c:1043:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if(strlen(src) < 3)
data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c:182: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).
    pos += strlen(address);
data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c:184: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).
    pos += 1+strlen(arguments);
data/zynaddsubfx-3.0.5/rtosc/src/rtosc.c:218: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).
                pos += strlen(s);
data/zynaddsubfx-3.0.5/rtosc/src/util.c:7:12:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    return strncat(dest, src, buffersize-1);
data/zynaddsubfx-3.0.5/rtosc/test/arg-val-cmp.c:28:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(tc_full, ldesc, tc_len-1);
data/zynaddsubfx-3.0.5/rtosc/test/headerlib.cpp:34:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ports.dispatch(tlink.read(), d);
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:287: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).
        port_args = portname + strlen(portname);
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:328:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                else if(!strncmp(x.title, "default ", strlen("default ")) &&
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:329: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).
                         strcmp(x.title + strlen("default "), "depends")) {
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:330:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    ++presets[x.title + strlen("default ")];
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:647: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* old_loc = loc + strlen(loc);
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:692:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int portlen = strlen(portname);
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:764: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).
    for(; i < strlen(url); ++i)
data/zynaddsubfx-3.0.5/rtosc/test/port-checker.cpp:768: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(i == strlen(url))
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:36:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(tc_full, tc_base, tc_len-7);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:37:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(tc_full, "\" (read exactly the input string)",
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:38: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).
            tc_len - strlen(tc_full));
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:39: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).
    assert_int_eq(strlen(arg_val_str), rd, tc_full, line);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:48:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(tc_full, tc_base, tc_len-8);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:49:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(tc_full, "\" (value = value before scan)",
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:50: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).
            tc_len - strlen(tc_full));
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:54:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(tc_full, tc_base, tc_len-8);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:55:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(tc_full, "\" (return value check)", tc_len - strlen(tc_full));
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:55:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(tc_full, "\" (return value check)", tc_len - strlen(tc_full));
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:56: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).
    assert_int_eq(strlen(exp_print), written, tc_full, line);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:448:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(tc_full, arg_val_str, tc_len-25);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:449:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(tc_full, "\"", tc_len);
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:475: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).
    assert_int_eq(strlen(input), rd,
data/zynaddsubfx-3.0.5/rtosc/test/pretty-format.c:489: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).
    assert_int_eq(strlen(exp), written,
data/zynaddsubfx-3.0.5/rtosc/test/util.c:9: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).
    dest[strlen(src)+1] = 'x';
data/zynaddsubfx-3.0.5/rtosc/test/util.c:16: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).
    assert_char_eq('x', dest[strlen(src)+1],
data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.cpp:40:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
qli_t *LockFreeQueue::read(void) {
data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.h:40:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qli_t *read(void);
data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.h:60:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qli_t *alloc(void)   { return m_free.read();   }
data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.h:63:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qli_t *read(void)    { return m_msgs.read();   }
data/zynaddsubfx-3.0.5/src/Containers/MultiPseudoStack.h:63:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qli_t *read(void)    { return m_msgs.read();   }
data/zynaddsubfx-3.0.5/src/Containers/ScratchString.cpp:35:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(ss.c_str, s.c_str, SCRATCH_SIZE-strlen(c_str));
data/zynaddsubfx-3.0.5/src/Containers/ScratchString.cpp:35:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(ss.c_str, s.c_str, SCRATCH_SIZE-strlen(c_str));
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:257:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if(strlen(filename) <= i)
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if((startname + 1) < strlen(filename))
data/zynaddsubfx-3.0.5/src/Misc/Bank.cpp:395:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (path && strstr(path, "ZynAddSubFX.dylib") && strlen (path) < 1000) {
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:23: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).
    int n = strlen(hay);
data/zynaddsubfx-3.0.5/src/Misc/BankDb.cpp:24: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).
    int m = strlen(needle);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:61: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).
            const char* m_findslash = m + strlen(m),
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:62: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).
                      * loc_findslash = d.loc + strlen(d.loc);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:93: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).
            const char* m_findslash = m + strlen(m),
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:94: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).
                      * loc_findslash = d.loc + strlen(d.loc);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:711:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(slot.name, node["name"].c_str(), sizeof(slot.name) - 1);
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1134:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        const char *msg = uToB->read();
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1559: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).
    return strlen(*data) + 1;
data/zynaddsubfx-3.0.5/src/Misc/Master.cpp:1727:9:  [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(50000);
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:483: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).
    while(k < strlen(text)) {
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:491: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).
        if(strlen(lin) == 0)
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:526: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).
    while(k < strlen(text)) {
data/zynaddsubfx-3.0.5/src/Misc/Microtonal.cpp:533: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).
        if(strlen(lin) == 0)
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:686:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const char *rtmsg = bToU->read();
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:690:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while(auto *m = multi_thread_source.read()) {
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1688:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        const char *msg = bToU->read();
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:1801:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        const char *msg = bToU->read();
data/zynaddsubfx-3.0.5/src/Misc/MiddleWare.cpp:2101: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).
        int id = atoi(filename+strlen(prefix));
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:19: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 *out = (char*)malloc(strlen(msg)*2+1);
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:20: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).
    memset(out, 0, strlen(msg)*2+1);
data/zynaddsubfx-3.0.5/src/Misc/Schema.cpp:214: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).
        if(strlen(m.title) >= 5 && !memcmp(m.title, "map ", 4)) {
data/zynaddsubfx-3.0.5/src/Misc/Util.cpp:61:12:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    return strncat(dest, src, buffersize-1);
data/zynaddsubfx-3.0.5/src/Misc/Util.cpp:160:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(length);
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:365:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        fetchBuf[read] = 0; //Truncate last partial read
data/zynaddsubfx-3.0.5/src/Misc/XMLwrapper.cpp:373:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(xmldata, tmp.c_str(), tmp.size() + 1);
data/zynaddsubfx-3.0.5/src/Nio/AlsaEngine.cpp:114:13:  [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(10);
data/zynaddsubfx-3.0.5/src/Nio/OssEngine.cpp:457:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            error = read(handle, &tmp, 1);
data/zynaddsubfx-3.0.5/src/Output/DSSIaudiooutput.cpp:636:13:  [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(1000);
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp:456:16:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    const bool mismatch;
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp:460:17:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return (mismatch)
data/zynaddsubfx-3.0.5/src/Params/EnvelopeParams.cpp:473:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        mismatch(fileversion < version_type(2,4,4) &&
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:49:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(type, "n");
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:73:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(type, "n");
data/zynaddsubfx-3.0.5/src/Params/PresetsArray.cpp:115:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(type, "n");
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX.cpp:318: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).
        if(key && strlen(key) > 1000 && (!value || strlen(value) < 1000)) {
data/zynaddsubfx-3.0.5/src/Plugin/ZynAddSubFX/ZynAddSubFX.cpp:318:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(key && strlen(key) > 1000 && (!value || strlen(value) < 1000)) {
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:61:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            msg = ms->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:64:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            msg = ms->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:74:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const char *msg = ms->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:84:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ms->applyOscEvent(ms->uToB->read());
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:86:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ms->applyOscEvent(ms->uToB->read());
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:128:29:  [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(500);
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:131:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        const char *msg = ms->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:292:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                const char *msg = ms->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/MessageTest.h:304:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                const char *msg = ms->bToU->read();
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:45:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            TS_ASSERT(!s->read());
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:47:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            auto *mem2 = s->read();
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:57:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                TS_ASSERT(!s->read());
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:59:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                auto *mem2 = s->read();
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:77:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        if(read) {
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:78:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            auto *mem = s->read();
data/zynaddsubfx-3.0.5/src/Tests/MqTest.h:106:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                auto *mem = s->read();
data/zynaddsubfx-3.0.5/src/Tests/SaveOSC.cpp:97:17:  [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(1000);
data/zynaddsubfx-3.0.5/src/Tests/SaveOSC.cpp:185:25:  [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(500);
data/zynaddsubfx-3.0.5/src/Tests/SaveOSC.cpp:188:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    const char *msg = master->uToB->read();
data/zynaddsubfx-3.0.5/src/Tests/WatchTest.h:77:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            TS_ASSERT_EQUALS(string("out"), tr->read());
data/zynaddsubfx-3.0.5/src/UI/BankView.cpp:220:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Fl_Button *buttons[4]{read, write, clear, swap};
data/zynaddsubfx-3.0.5/src/UI/BankView.h:66:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Fl_Check_Button *read;
data/zynaddsubfx-3.0.5/src/UI/ConnectionDummy.cpp:30:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(1000);
data/zynaddsubfx-3.0.5/src/UI/Fl_Osc_Tree.H:82:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(tmpa, path.c_str(), sizeof(tmpa));
data/zynaddsubfx-3.0.5/src/UI/guimain.cpp:630:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            raiseUi(gui, lo_buffer.read());

ANALYSIS SUMMARY:

Hits = 1085
Lines analyzed = 140533 in approximately 7.16 seconds (19639 lines/second)
Physical Source Lines of Code (SLOC) = 102560
Hits@level = [0] 467 [1] 288 [2] 636 [3]  50 [4] 102 [5]   9
Hits@level+ = [0+] 1552 [1+] 1085 [2+] 797 [3+] 161 [4+] 111 [5+]   9
Hits/KSLOC@level+ = [0+] 15.1326 [1+] 10.5792 [2+] 7.77106 [3+] 1.56981 [4+] 1.08229 [5+] 0.0877535
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.