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/giada-0.16.2.2+ds1/src/core/action.h
Examining data/giada-0.16.2.2+ds1/src/core/audioBuffer.cpp
Examining data/giada-0.16.2.2+ds1/src/core/audioBuffer.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/channel.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/channel.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/channelManager.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/channelManager.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/masterChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/masterChannel.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/midiChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/midiChannel.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/midiChannelProc.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/midiChannelProc.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannel.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannelProc.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannelProc.h
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannelRec.cpp
Examining data/giada-0.16.2.2+ds1/src/core/channels/sampleChannelRec.h
Examining data/giada-0.16.2.2+ds1/src/core/clock.cpp
Examining data/giada-0.16.2.2+ds1/src/core/clock.h
Examining data/giada-0.16.2.2+ds1/src/core/conf.h
Examining data/giada-0.16.2.2+ds1/src/core/const.h
Examining data/giada-0.16.2.2+ds1/src/core/graphics.cpp
Examining data/giada-0.16.2.2+ds1/src/core/graphics.h
Examining data/giada-0.16.2.2+ds1/src/core/idManager.cpp
Examining data/giada-0.16.2.2+ds1/src/core/idManager.h
Examining data/giada-0.16.2.2+ds1/src/core/init.h
Examining data/giada-0.16.2.2+ds1/src/core/kernelAudio.cpp
Examining data/giada-0.16.2.2+ds1/src/core/kernelAudio.h
Examining data/giada-0.16.2.2+ds1/src/core/kernelMidi.cpp
Examining data/giada-0.16.2.2+ds1/src/core/kernelMidi.h
Examining data/giada-0.16.2.2+ds1/src/core/midiDispatcher.cpp
Examining data/giada-0.16.2.2+ds1/src/core/midiDispatcher.h
Examining data/giada-0.16.2.2+ds1/src/core/midiEvent.cpp
Examining data/giada-0.16.2.2+ds1/src/core/midiEvent.h
Examining data/giada-0.16.2.2+ds1/src/core/midiMapConf.h
Examining data/giada-0.16.2.2+ds1/src/core/mixer.cpp
Examining data/giada-0.16.2.2+ds1/src/core/mixer.h
Examining data/giada-0.16.2.2+ds1/src/core/mixerHandler.cpp
Examining data/giada-0.16.2.2+ds1/src/core/mixerHandler.h
Examining data/giada-0.16.2.2+ds1/src/core/model/model.cpp
Examining data/giada-0.16.2.2+ds1/src/core/model/model.h
Examining data/giada-0.16.2.2+ds1/src/core/model/storage.cpp
Examining data/giada-0.16.2.2+ds1/src/core/model/storage.h
Examining data/giada-0.16.2.2+ds1/src/core/patch.h
Examining data/giada-0.16.2.2+ds1/src/core/pluginHost.cpp
Examining data/giada-0.16.2.2+ds1/src/core/pluginHost.h
Examining data/giada-0.16.2.2+ds1/src/core/pluginManager.h
Examining data/giada-0.16.2.2+ds1/src/core/queue.h
Examining data/giada-0.16.2.2+ds1/src/core/range.h
Examining data/giada-0.16.2.2+ds1/src/core/rcuList.h
Examining data/giada-0.16.2.2+ds1/src/core/recManager.cpp
Examining data/giada-0.16.2.2+ds1/src/core/recManager.h
Examining data/giada-0.16.2.2+ds1/src/core/recorder.cpp
Examining data/giada-0.16.2.2+ds1/src/core/recorder.h
Examining data/giada-0.16.2.2+ds1/src/core/recorderHandler.cpp
Examining data/giada-0.16.2.2+ds1/src/core/recorderHandler.h
Examining data/giada-0.16.2.2+ds1/src/core/types.h
Examining data/giada-0.16.2.2+ds1/src/core/wave.cpp
Examining data/giada-0.16.2.2+ds1/src/core/wave.h
Examining data/giada-0.16.2.2+ds1/src/core/waveFx.cpp
Examining data/giada-0.16.2.2+ds1/src/core/waveFx.h
Examining data/giada-0.16.2.2+ds1/src/core/waveManager.cpp
Examining data/giada-0.16.2.2+ds1/src/core/waveManager.h
Examining data/giada-0.16.2.2+ds1/src/core/plugin.cpp
Examining data/giada-0.16.2.2+ds1/src/core/plugin.h
Examining data/giada-0.16.2.2+ds1/src/core/pluginManager.cpp
Examining data/giada-0.16.2.2+ds1/src/core/midiMapConf.cpp
Examining data/giada-0.16.2.2+ds1/src/core/conf.cpp
Examining data/giada-0.16.2.2+ds1/src/core/init.cpp
Examining data/giada-0.16.2.2+ds1/src/core/patch.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/juce-config.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrivers.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrivers.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrvr.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiosys.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/dsound.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/functiondiscoverykeys_devpkey.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/ginclude.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/iasiodrv.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/iasiothiscallresolver.cpp
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/iasiothiscallresolver.h
Examining data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h
Examining data/giada-0.16.2.2+ds1/src/ext/resource.h
Examining data/giada-0.16.2.2+ds1/src/glue/actionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/actionEditor.h
Examining data/giada-0.16.2.2+ds1/src/glue/channel.h
Examining data/giada-0.16.2.2+ds1/src/glue/io.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/io.h
Examining data/giada-0.16.2.2+ds1/src/glue/main.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/main.h
Examining data/giada-0.16.2.2+ds1/src/glue/plugin.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/plugin.h
Examining data/giada-0.16.2.2+ds1/src/glue/recorder.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/recorder.h
Examining data/giada-0.16.2.2+ds1/src/glue/sampleEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/sampleEditor.h
Examining data/giada-0.16.2.2+ds1/src/glue/storage.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/storage.h
Examining data/giada-0.16.2.2+ds1/src/glue/transport.cpp
Examining data/giada-0.16.2.2+ds1/src/glue/channel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/about.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/about.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/baseActionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/baseActionEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/midiActionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/midiActionEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/sampleActionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/actionEditor/sampleActionEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/beatsInput.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/beatsInput.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/bpmInput.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/bpmInput.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserBase.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserBase.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserDir.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserDir.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserLoad.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserLoad.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserSave.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/browser/browserSave.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/channelNameInput.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/channelNameInput.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/config.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/config.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/devInfo.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/devInfo.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/keyGrabber.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/keyGrabber.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/mainWindow.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/mainWindow.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputBase.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputBase.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputChannel.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputMaster.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiInputMaster.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputBase.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputBase.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputMidiCh.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputMidiCh.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputSampleCh.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/midiIO/midiOutputSampleCh.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginChooser.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginChooser.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginList.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginList.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginWindow.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginWindow.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginWindowGUI.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/pluginWindowGUI.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/sampleEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/sampleEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/warnings.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/warnings.h
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/window.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dialogs/window.h
Examining data/giada-0.16.2.2+ds1/src/gui/dispatcher.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/dispatcher.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/baseAction.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/baseAction.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/baseActionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/baseActionEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/envelopeEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/envelopeEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/envelopePoint.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/envelopePoint.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/gridTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/gridTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/noteEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/noteEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/pianoItem.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/pianoItem.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/pianoRoll.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/pianoRoll.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/sampleAction.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/sampleAction.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/sampleActionEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/sampleActionEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/velocityEditor.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/actionEditor/velocityEditor.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/baseButton.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/baseButton.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/box.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/box.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/boxtypes.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/boxtypes.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/button.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/button.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/check.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/check.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/choice.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/choice.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/dial.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/dial.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/input.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/input.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/liquidScroll.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/liquidScroll.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/progress.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/progress.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/radio.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/radio.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/resizerBar.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/resizerBar.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/scroll.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/scroll.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/slider.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/slider.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/statusButton.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/basics/statusButton.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/browser.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/browser.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabAudio.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabAudio.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabBehaviors.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabBehaviors.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabMidi.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabMidi.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabMisc.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabMisc.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabPlugins.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/config/tabPlugins.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/beatMeter.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/beatMeter.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channel.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelButton.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelButton.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelMode.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelMode.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelStatus.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/channelStatus.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/column.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/column.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/keyboard.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/keyboard.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/midiChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/midiChannel.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/midiChannelButton.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/midiChannelButton.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/sampleChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/sampleChannel.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/sampleChannelButton.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/keyboard/sampleChannelButton.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainIO.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainIO.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainMenu.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainMenu.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainTimer.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainTimer.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainTransport.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/mainWindow/mainTransport.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerBase.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerBase.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerChannel.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerChannel.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerMaster.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerMaster.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerPlugin.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/midiIO/midiLearnerPlugin.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginBrowser.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginBrowser.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginElement.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginElement.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginParameter.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/plugin/pluginParameter.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/boostTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/boostTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/panTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/panTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/pitchTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/pitchTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/rangeTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/rangeTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/shiftTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/shiftTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/volumeTool.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/volumeTool.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/waveTools.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/waveTools.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/waveform.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/waveform.h
Examining data/giada-0.16.2.2+ds1/src/gui/elems/soundMeter.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/elems/soundMeter.h
Examining data/giada-0.16.2.2+ds1/src/gui/model.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/model.h
Examining data/giada-0.16.2.2+ds1/src/gui/updater.cpp
Examining data/giada-0.16.2.2+ds1/src/gui/updater.h
Examining data/giada-0.16.2.2+ds1/src/main.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/cocoa.h
Examining data/giada-0.16.2.2+ds1/src/utils/fs.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/fs.h
Examining data/giada-0.16.2.2+ds1/src/utils/gui.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/gui.h
Examining data/giada-0.16.2.2+ds1/src/utils/log.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/log.h
Examining data/giada-0.16.2.2+ds1/src/utils/math.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/math.h
Examining data/giada-0.16.2.2+ds1/src/utils/string.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/string.h
Examining data/giada-0.16.2.2+ds1/src/utils/time.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/time.h
Examining data/giada-0.16.2.2+ds1/src/utils/vector.h
Examining data/giada-0.16.2.2+ds1/src/utils/ver.cpp
Examining data/giada-0.16.2.2+ds1/src/utils/ver.h
Examining data/giada-0.16.2.2+ds1/tests/audioBuffer.cpp
Examining data/giada-0.16.2.2+ds1/tests/main.cpp
Examining data/giada-0.16.2.2+ds1/tests/rcuList.cpp
Examining data/giada-0.16.2.2+ds1/tests/recorder.cpp
Examining data/giada-0.16.2.2+ds1/tests/sampleChannel.cpp
Examining data/giada-0.16.2.2+ds1/tests/utils.cpp
Examining data/giada-0.16.2.2+ds1/tests/wave.cpp
Examining data/giada-0.16.2.2+ds1/tests/waveFx.cpp
Examining data/giada-0.16.2.2+ds1/tests/waveManager.cpp

FINAL RESULTS:

data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7501:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( name, "hw:%s,%d", cardname, subdevice );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:119:8:  [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(lpdrv->drvname,databuf);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:121:12:  [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).
						else strcpy(lpdrv->drvname,keyname);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:264: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(drvname,lpdrv->drvname);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:286: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(dllpath,lpdrv->dllpath);
data/giada-0.16.2.2+ds1/src/gui/elems/config/tabMidi.h:50: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.
	geChoice* system;
data/giada-0.16.2.2+ds1/src/utils/log.cpp:91:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf(f, format, args);
data/giada-0.16.2.2+ds1/src/utils/log.cpp:97:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vprintf(format, args);
data/giada-0.16.2.2+ds1/src/utils/string.cpp:112:16:  [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.
	size_t size = vsnprintf(nullptr, 0, format, args) + 1;
data/giada-0.16.2.2+ds1/src/utils/string.cpp:122:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tmp.get(), format, args);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:60:31:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  #define MUTEX_INITIALIZE(A) InitializeCriticalSection(A)
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:62:31:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  #define MUTEX_LOCK(A)       EnterCriticalSection(A)
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:4998:21:  [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.
  HMODULE AvrtDll = LoadLibrary( (LPCTSTR) "AVRT.dll" );
data/giada-0.16.2.2+ds1/src/utils/fs.cpp:264:40:  [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(path, PATH_MAX, "%s/.giada", getenv("HOME"));
data/giada-0.16.2.2+ds1/src/utils/string.cpp:47:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	char *buf = realpath(path.c_str(), nullptr);
data/giada-0.16.2.2+ds1/src/core/audioBuffer.cpp:113: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(m_data + (frame * m_channels), values, m_channels * sizeof(float));
data/giada-0.16.2.2+ds1/src/core/audioBuffer.cpp:123: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(m_data + (offset * m_channels), data, frames * m_channels * sizeof(float));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:1754: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( outBufferList->mBuffers[handle->iStream[0]].mData,
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:1769:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( outBufferList->mBuffers[handle->iStream[0]+i].mData,
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:1847: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( stream_.userBuffer[1],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:1859:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( (void *)&outBuffer[i*stream_.bufferSize],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2072: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.
      port = (char *) ports[ nChannels ];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2111: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.
      port = (char *) ports[ nPorts ];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2267: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.
      port = (char *) ports[ nPorts ];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2435: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 label[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2732: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( jackbuffer, &stream_.deviceBuffer[i*bufferBytes], bufferBytes );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2738: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( jackbuffer, &stream_.userBuffer[0][i*bufferBytes], bufferBytes );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2754: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( &stream_.deviceBuffer[i*bufferBytes], jackbuffer, bufferBytes );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2761: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( &stream_.userBuffer[1][i*bufferBytes], jackbuffer, bufferBytes );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2878: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 driverName[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:2998: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 driverName[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3587:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( handle->bufferInfos[i].buffers[bufferIndex],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3601:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( handle->bufferInfos[i].buffers[bufferIndex],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3623:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( &stream_.deviceBuffer[j++*bufferBytes],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3638:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( &stream_.userBuffer[1][bufferBytes*j++],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3889: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( &( ( char* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( char ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3890: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_, &( ( char* ) buffer )[fromInSize], fromZeroSize * sizeof( char ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3893: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( &( ( short* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( short ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3894: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_, &( ( short* ) buffer )[fromInSize], fromZeroSize * sizeof( short ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3897: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( &( ( S24* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( S24 ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3898: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_, &( ( S24* ) buffer )[fromInSize], fromZeroSize * sizeof( S24 ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3901: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( &( ( int* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( int ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3902: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_, &( ( int* ) buffer )[fromInSize], fromZeroSize * sizeof( int ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3905: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( &( ( float* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( float ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3906: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_, &( ( float* ) buffer )[fromInSize], fromZeroSize * sizeof( float ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3909: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( &( ( double* ) buffer_ )[inIndex_], buffer, fromInSize * sizeof( double ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3910: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_, &( ( double* ) buffer )[fromInSize], fromZeroSize * sizeof( double ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3951: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, &( ( char* ) buffer_ )[outIndex_], fromOutSize * sizeof( char ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3952: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( &( ( char* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( char ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3955: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, &( ( short* ) buffer_ )[outIndex_], fromOutSize * sizeof( short ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3956: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( &( ( short* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( short ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3959: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, &( ( S24* ) buffer_ )[outIndex_], fromOutSize * sizeof( S24 ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3960: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( &( ( S24* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( S24 ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3963: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, &( ( int* ) buffer_ )[outIndex_], fromOutSize * sizeof( int ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3964: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( &( ( int* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( int ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3967: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, &( ( float* ) buffer_ )[outIndex_], fromOutSize * sizeof( float ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3968: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( &( ( float* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( float ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3971: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, &( ( double* ) buffer_ )[outIndex_], fromOutSize * sizeof( double ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:3972: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( &( ( double* ) buffer )[fromOutSize], buffer_, fromZeroSize * sizeof( double ) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:4089: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( outBuffer, inBuffer, inputBufferSize );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:4113: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( rInByteBuffer, inBuffer, inputBufferSize );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:4165: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( outBuffer, rOutByteBuffer, rBytes );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:5253: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( stream_.userBuffer[INPUT],
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:5339:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( stream_.deviceBuffer,
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:6827:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory( buffer1, buffer, bufferSize1 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:6828:28:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if ( buffer2 != NULL ) CopyMemory( buffer2, buffer+bufferSize1, bufferSize2 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:6956:7:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      CopyMemory( buffer, buffer1, bufferSize1 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:6957:30:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if ( buffer2 != NULL ) CopyMemory( buffer+bufferSize1, buffer2, bufferSize2 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7179: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 name[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7186: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( name, "hw:%d", card );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7230: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 name[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7238: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( name, "hw:%d", card );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7258: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( name, "hw:%d,%d", card, subdevice );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7272:7:  [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( name, "default" );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7537: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 name[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7547:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( name, "hw:%d", card );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7560:11:  [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( name, "hw:%d,%d", card, subdevice );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:7573:9:  [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( name, "default" );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:9037:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int mixerfd = open( "/dev/mixer", O_RDWR, 0 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:9061:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int mixerfd = open( "/dev/mixer", O_RDWR, 0 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:9181:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int mixerfd = open( "/dev/mixer", O_RDWR, 0 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:9262:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open( ainfo.devnode, flags, 0 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.h:687:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char c3[3];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.h:786: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 *userBuffer[2];       // Playback and record, respectively.
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:54: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(info->name, "No ASIO Driver");
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:58:3:  [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(info->errorMessage, "Not enough memory for the ASIO driver!"); 
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:68: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(info->errorMessage, "No ASIO Driver Error");
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:76: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(info->name, "No ASIO Driver");
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:86:3:  [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(info->errorMessage, "No ASIO Driver Error");
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.cpp:205:3:  [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(info->name, "None");
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:117: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 ieee[8];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.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 future[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:258: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 reserved[12];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:481: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[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:482: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 errorMessage[124];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:685: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[32];				// for user selection
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:774: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[32];			// dto
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:951: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 future[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:960: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 future[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asio.h:1011: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				future[512-sizeof(ASIOIoFormatType)];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrivers.cpp:50: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 dname[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrivers.cpp:116: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 dname[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiodrivers.cpp:117: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 curName[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:16: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			databuf[512];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:92: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	databuf[256];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:93: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	dllpath[MAXPATHLEN];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:111:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
						MultiByteToWideChar(CP_ACP,0,(LPCSTR)databuf,-1,(LPWSTR)wData,100);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:113:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
							memcpy(&lpdrv->clsid,&clsid,sizeof(CLSID));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:165: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			keyname[MAXDRVNAMELEN];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:267: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(drvname,lpdrv->drvname,drvnamesize-4);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:302: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(clsid,&lpdrv->clsid,sizeof(CLSID));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.h:16: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					dllpath[MAXPATHLEN];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.h:17: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					drvname[MAXDRVNAMELEN];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:428: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 data[1];	/* The waveform data starts here */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:696: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[30];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:724: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[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:729: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[30];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1090: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 id[16];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1091: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 name[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1234:23:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	_pm_info.device=dev, bcopy( pgm, _pm_info.data.data8,  128), \
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1477: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 oss_longname_t[OSS_LONGNAME_SIZE];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1478: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 oss_label_t[OSS_LABEL_SIZE];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1479: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 oss_devnode_t[OSS_DEVNODE_SIZE];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1624: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	product[32];	/* For example OSS/Free, OSS/Linux or
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1626: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	version[32];	/* For example 4.0a */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1628: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	options[128];	/* Reserved */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1685: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 id[16];			/* Mnemonic ID (mainly for internal use) */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1692: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 data[64];		/* Misc data (entry type dependent) */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1693:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char enum_present[32];	/* Mask of allowed enum values */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1709: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 extname[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1716: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 id[16];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1717: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 name[48];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1738: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	strings[3000];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1754: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/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1761: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 	cmd[64];	/* Command using the device (if known) */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1776: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	handle[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1791: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 id[16];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1792: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 name[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1796: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 handle[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1816: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 name[64];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1819: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 cmd[64];			/* Command using the device (if known) */
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1838: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 handle[32];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1848: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 shortname[16];
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/soundcard.h:1849: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 longname[128];
data/giada-0.16.2.2+ds1/src/gui/dialogs/beatsInput.cpp:89: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).
	c::main::setBeats(atoi(beats->value()), atoi(bars->value()));
data/giada-0.16.2.2+ds1/src/gui/dialogs/beatsInput.cpp:89: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).
	c::main::setBeats(atoi(beats->value()), atoi(bars->value()));
data/giada-0.16.2.2+ds1/src/gui/dialogs/sampleEditor.cpp:107: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).
	m::conf::conf.sampleEditorGridVal = atoi(grid->text());
data/giada-0.16.2.2+ds1/src/gui/dialogs/sampleEditor.cpp:355: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).
	waveTools->waveform->setGridLevel(atoi(grid->text()));
data/giada-0.16.2.2+ds1/src/gui/elems/config/tabAudio.cpp:521:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	m::conf::conf.buffersize = std::atoi(buffersize->text());
data/giada-0.16.2.2+ds1/src/gui/elems/config/tabAudio.cpp:527:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		m::conf::conf.samplerate = std::atoi(i->label());
data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/rangeTool.cpp:100:44:  [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).
	c::sampleEditor::setBeginEnd(m_channelId, atoi(m_begin->value()), atoi(m_end->value()));
data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/rangeTool.cpp:100:68:  [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).
	c::sampleEditor::setBeginEnd(m_channelId, atoi(m_begin->value()), atoi(m_end->value()));
data/giada-0.16.2.2+ds1/src/gui/elems/sampleEditor/shiftTool.cpp:81:8:  [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).
	shift(atoi(m_shift->value()));
data/giada-0.16.2.2+ds1/src/utils/fs.cpp:79: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* fh = fopen(filename.c_str(), "rb");
data/giada-0.16.2.2+ds1/src/utils/fs.cpp:189:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 char buf[PATH_MAX];
data/giada-0.16.2.2+ds1/src/utils/fs.cpp:260: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[PATH_MAX];
data/giada-0.16.2.2+ds1/src/utils/log.cpp:61: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).
		f = fopen(fpath.c_str(), "a");
data/giada-0.16.2.2+ds1/src/utils/ver.cpp:45: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 buffer[128];
data/giada-0.16.2.2+ds1/src/core/conf.cpp:123:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool read()
data/giada-0.16.2.2+ds1/src/core/conf.h:152:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool read();
data/giada-0.16.2.2+ds1/src/core/init.cpp:80:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (!conf::read())
data/giada-0.16.2.2+ds1/src/core/init.cpp:90:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (midimap::read(conf::conf.midiMapPath) != MIDIMAP_READ_OK)
data/giada-0.16.2.2+ds1/src/core/midiMapConf.cpp:193:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int read(const std::string& file)
data/giada-0.16.2.2+ds1/src/core/midiMapConf.h:105:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int read(const std::string& file);
data/giada-0.16.2.2+ds1/src/core/patch.cpp:435:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int read(const std::string& file, const std::string& basePath)
data/giada-0.16.2.2+ds1/src/core/patch.h:176:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int read(const std::string& file, const std::string& basePath);
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:706: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).
  info.name.append( (const char *)mname, strlen(mname) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:728: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).
  info.name.append( (const char *)name, strlen(name) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:1177:7:  [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( 5000 );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/RtAudio.cpp:9918:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result = read( handle->id[1], buffer, samples * formatBytes(format) );
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:25: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).
	CharLowerBuffA(clsidstr,strlen(clsidstr));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:32: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).
				CharLowerBuffA(databuf,strlen(databuf));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:55:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	CharLowerBuff(clsidstr,strlen(clsidstr));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:62: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).
				CharLowerBuff(databuf,strlen(databuf));
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:263: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(lpdrv->drvname) < (unsigned int)drvnamesize) {
data/giada-0.16.2.2+ds1/src/deps/rtaudio/include/asiolist.cpp:285: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(lpdrv->dllpath) < (unsigned int)dllpathsize) {
data/giada-0.16.2.2+ds1/src/glue/storage.cpp:166:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int res = m::patch::read(fileToLoad, basePath);
data/giada-0.16.2.2+ds1/src/gui/dialogs/keyGrabber.cpp:143: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(Fl::event_text()) != 0
data/giada-0.16.2.2+ds1/src/utils/fs.cpp:207: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(file.c_str());

ANALYSIS SUMMARY:

Hits = 179
Lines analyzed = 61629 in approximately 1.60 seconds (38449 lines/second)
Physical Source Lines of Code (SLOC) = 35714
Hits@level = [0]  22 [1]  21 [2] 143 [3]   5 [4]  10 [5]   0
Hits@level+ = [0+] 201 [1+] 179 [2+] 158 [3+]  15 [4+]  10 [5+]   0
Hits/KSLOC@level+ = [0+] 5.62805 [1+] 5.01204 [2+] 4.42404 [3+] 0.420003 [4+] 0.280002 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.