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/libffado-2.4.2/support/tools/ffado-set-nickname.cpp
Examining data/libffado-2.4.2/support/alsa/alsa_plugin.cpp
Examining data/libffado-2.4.2/support/dbus/test-dbus.cpp
Examining data/libffado-2.4.2/support/dbus/controlserver.h
Examining data/libffado-2.4.2/support/dbus/ffado-dbus-server.cpp
Examining data/libffado-2.4.2/support/dbus/controlclient.h
Examining data/libffado-2.4.2/support/dbus/controlserver.cpp
Examining data/libffado-2.4.2/support/dbus/test-dbus-server.cpp
Examining data/libffado-2.4.2/support/dbus/controlclient.cpp
Examining data/libffado-2.4.2/support/firmware/fireworks-downloader.cpp
Examining data/libffado-2.4.2/support/firmware/downloader.cpp
Examining data/libffado-2.4.2/support/firmware/dice-firmware-utility.cpp
Examining data/libffado-2.4.2/support/firmware/bridgeco-downloader.cpp
Examining data/libffado-2.4.2/support/firmware/downloader.h
Examining data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp
Examining data/libffado-2.4.2/src/bebob/presonus/inspire1394_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/presonus/firebox_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/presonus/inspire1394_avdevice.h
Examining data/libffado-2.4.2/src/bebob/presonus/firebox_avdevice.h
Examining data/libffado-2.4.2/src/bebob/maudio/normal_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/maudio/normal_avdevice.h
Examining data/libffado-2.4.2/src/bebob/maudio/special_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/maudio/special_avdevice.h
Examining data/libffado-2.4.2/src/bebob/maudio/special_mixer.cpp
Examining data/libffado-2.4.2/src/bebob/maudio/special_mixer.h
Examining data/libffado-2.4.2/src/bebob/edirol/edirol_fa101.h
Examining data/libffado-2.4.2/src/bebob/edirol/edirol_fa66.cpp
Examining data/libffado-2.4.2/src/bebob/edirol/edirol_fa66.h
Examining data/libffado-2.4.2/src/bebob/edirol/edirol_fa101.cpp
Examining data/libffado-2.4.2/src/bebob/esi/quatafire610.cpp
Examining data/libffado-2.4.2/src/bebob/esi/quatafire610.h
Examining data/libffado-2.4.2/src/bebob/mackie/onyxmixer.cpp
Examining data/libffado-2.4.2/src/bebob/mackie/onyxmixer.h
Examining data/libffado-2.4.2/src/bebob/bebob_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/yamaha/yamaha_avdevice.cpp
Examining data/libffado-2.4.2/src/bebob/yamaha/yamaha_avdevice.h
Examining data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp
Examining data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.h
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_generic.h
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_saffire.h
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_saffirepro.h
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_generic.cpp
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_saffire.cpp
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_saffirepro.cpp
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.h
Examining data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_avdevice.h
Examining data/libffado-2.4.2/src/bebob/terratec/terratec_device.cpp
Examining data/libffado-2.4.2/src/bebob/terratec/terratec_device.h
Examining data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.h
Examining data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp
Examining data/libffado-2.4.2/src/bebob/template/vendor_device.cpp
Examining data/libffado-2.4.2/src/bebob/template/vendor_device.h
Examining data/libffado-2.4.2/src/bebob/bebob_mixer.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_mixer.h
Examining data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_avplug.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_dl_mgr.h
Examining data/libffado-2.4.2/src/bebob/bebob_avplug.h
Examining data/libffado-2.4.2/src/bebob/bebob_functionblock.h
Examining data/libffado-2.4.2/src/bebob/bebob_avdevice_subunit.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_avdevice_subunit.h
Examining data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp
Examining data/libffado-2.4.2/src/bebob/bebob_dl_bcd.h
Examining data/libffado-2.4.2/src/bebob/bebob_dl_codes.h
Examining data/libffado-2.4.2/src/ffadodevice.h
Examining data/libffado-2.4.2/src/fireworks/fireworks_control.cpp
Examining data/libffado-2.4.2/src/fireworks/fireworks_device.cpp
Examining data/libffado-2.4.2/src/fireworks/fireworks_device.h
Examining data/libffado-2.4.2/src/fireworks/audiofire/audiofire_device.cpp
Examining data/libffado-2.4.2/src/fireworks/audiofire/audiofire_device.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_ioconfig.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmd.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmd.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_ioconfig.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware_ctrl.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_mixer.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_monitor.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_flash.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_avc_cmd.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware_ctrl.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_avc_cmd.cpp
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_mixer.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_monitor.h
Examining data/libffado-2.4.2/src/fireworks/efc/efc_cmds_flash.h
Examining data/libffado-2.4.2/src/fireworks/fireworks_control.h
Examining data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp
Examining data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp
Examining data/libffado-2.4.2/src/fireworks/fireworks_session_block.h
Examining data/libffado-2.4.2/src/fireworks/fireworks_firmware.h
Examining data/libffado-2.4.2/src/fireworks/IntelFlashMap.h
Examining data/libffado-2.4.2/src/libavc/general/avc_unit.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_plug.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_plug.h
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.h
Examining data/libffado-2.4.2/src/libavc/general/avc_subunit_info.h
Examining data/libffado-2.4.2/src/libavc/general/avc_vendor_dependent_cmd.h
Examining data/libffado-2.4.2/src/libavc/general/avc_generic.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_generic.h
Examining data/libffado-2.4.2/src/libavc/general/avc_unit.h
Examining data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_plug_info.h
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.h
Examining data/libffado-2.4.2/src/libavc/general/avc_signal_format.h
Examining data/libffado-2.4.2/src/libavc/general/avc_connect.h
Examining data/libffado-2.4.2/src/libavc/general/avc_unit_info.h
Examining data/libffado-2.4.2/src/libavc/general/avc_subunit.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_subunit.h
Examining data/libffado-2.4.2/src/libavc/general/avc_vendor_dependent_cmd.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_connect.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_subunit_info.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp
Examining data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.h
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.h
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.h
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_audiosubunit.cpp
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp
Examining data/libffado-2.4.2/src/libavc/audiosubunit/avc_audiosubunit.h
Examining data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.h
Examining data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp
Examining data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp
Examining data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp
Examining data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.h
Examining data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.h
Examining data/libffado-2.4.2/src/libavc/avc_definitions.h
Examining data/libffado-2.4.2/src/libavc/musicsubunit/avc_musicsubunit.cpp
Examining data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.h
Examining data/libffado-2.4.2/src/libavc/musicsubunit/avc_musicsubunit.h
Examining data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp
Examining data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp
Examining data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.h
Examining data/libffado-2.4.2/src/libavc/avc_definitions.cpp
Examining data/libffado-2.4.2/src/libstreaming/StreamProcessorManager.cpp
Examining data/libffado-2.4.2/src/libstreaming/rme/RmeTransmitStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/rme/RmeReceiveStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/rme/RmeTransmitStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/rme/RmeReceiveStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/rme/RmePortInfo.cpp
Examining data/libffado-2.4.2/src/libstreaming/rme/RmePort.cpp
Examining data/libffado-2.4.2/src/libstreaming/rme/RmePortInfo.h
Examining data/libffado-2.4.2/src/libstreaming/rme/RmePort.h
Examining data/libffado-2.4.2/src/libstreaming/generic/StreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/generic/StreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/generic/Port.h
Examining data/libffado-2.4.2/src/libstreaming/generic/Port.cpp
Examining data/libffado-2.4.2/src/libstreaming/generic/PortManager.cpp
Examining data/libffado-2.4.2/src/libstreaming/generic/PortManager.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp-oxford/AmdtpOxfordReceiveStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/amdtp-oxford/AmdtpOxfordReceiveStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuTransmitStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuReceiveStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuTransmitStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuReceiveStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuPort.h
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuPortInfo.cpp
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuPort.cpp
Examining data/libffado-2.4.2/src/libstreaming/motu/MotuPortInfo.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpBufferOps.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpReceiveStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpReceiveStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpStreamProcessor-common.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpPort.h
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpPortInfo.cpp
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpPort.cpp
Examining data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpPortInfo.h
Examining data/libffado-2.4.2/src/libstreaming/StreamProcessorManager.h
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignTransmitStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignReceiveStreamProcessor.cpp
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignPort.h
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignPortInfo.cpp
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignTransmitStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignReceiveStreamProcessor.h
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignPort.cpp
Examining data/libffado-2.4.2/src/libstreaming/digidesign/DigidesignPortInfo.h
Examining data/libffado-2.4.2/src/libstreaming/util/cip.h
Examining data/libffado-2.4.2/src/libstreaming/util/cip.c
Examining data/libffado-2.4.2/src/libutil/PosixThread.cpp
Examining data/libffado-2.4.2/src/libutil/Watchdog.cpp
Examining data/libffado-2.4.2/src/libutil/PosixMessageQueue.h
Examining data/libffado-2.4.2/src/libutil/PosixMessageQueue.cpp
Examining data/libffado-2.4.2/src/libutil/Configuration.cpp
Examining data/libffado-2.4.2/src/libutil/SystemTimeSource.cpp
Examining data/libffado-2.4.2/src/libutil/TimestampedBuffer.cpp
Examining data/libffado-2.4.2/src/libutil/StreamStatistics.cpp
Examining data/libffado-2.4.2/src/libutil/serialize_libxml.h
Examining data/libffado-2.4.2/src/libutil/serialize_libxml.cpp
Examining data/libffado-2.4.2/src/libutil/serialize_expat.cpp
Examining data/libffado-2.4.2/src/libutil/Configuration.h
Examining data/libffado-2.4.2/src/libutil/Watchdog.h
Examining data/libffado-2.4.2/src/libutil/SystemTimeSource.h
Examining data/libffado-2.4.2/src/libutil/PosixThread.h
Examining data/libffado-2.4.2/src/libutil/PosixSharedMemory.cpp
Examining data/libffado-2.4.2/src/libutil/TimestampedBuffer.h
Examining data/libffado-2.4.2/src/libutil/Atomic.h
Examining data/libffado-2.4.2/src/libutil/StreamStatistics.h
Examining data/libffado-2.4.2/src/libutil/Time.h
Examining data/libffado-2.4.2/src/libutil/ByteSwap.h
Examining data/libffado-2.4.2/src/libutil/cmd_serialize.h
Examining data/libffado-2.4.2/src/libutil/OptionContainer.h
Examining data/libffado-2.4.2/src/libutil/cmd_serialize.cpp
Examining data/libffado-2.4.2/src/libutil/Functors.h
Examining data/libffado-2.4.2/src/libutil/ringbuffer.c
Examining data/libffado-2.4.2/src/libutil/Thread.h
Examining data/libffado-2.4.2/src/libutil/PosixMutex.h
Examining data/libffado-2.4.2/src/libutil/PosixMutex.cpp
Examining data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp
Examining data/libffado-2.4.2/src/libutil/IpcRingBuffer.h
Examining data/libffado-2.4.2/src/libutil/serialize.h
Examining data/libffado-2.4.2/src/libutil/unittests.cpp
Examining data/libffado-2.4.2/src/libutil/PosixSharedMemory.h
Examining data/libffado-2.4.2/src/libutil/Mutex.h
Examining data/libffado-2.4.2/src/libutil/serialize_expat_xml.h
Examining data/libffado-2.4.2/src/libutil/serialize_expat_xml.cpp
Examining data/libffado-2.4.2/src/libutil/OptionContainer.cpp
Examining data/libffado-2.4.2/src/libutil/serialize_expat.h
Examining data/libffado-2.4.2/src/libutil/float_cast.h
Examining data/libffado-2.4.2/src/libutil/ringbuffer.h
Examining data/libffado-2.4.2/src/libutil/PacketBuffer.cpp
Examining data/libffado-2.4.2/src/libutil/PacketBuffer.h
Examining data/libffado-2.4.2/src/libutil/DelayLockedLoop.cpp
Examining data/libffado-2.4.2/src/libutil/DelayLockedLoop.h
Examining data/libffado-2.4.2/src/libutil/test-dll.cpp
Examining data/libffado-2.4.2/src/rme/fireface_flash.cpp
Examining data/libffado-2.4.2/src/rme/rme_avdevice.cpp
Examining data/libffado-2.4.2/src/rme/rme_avdevice.h
Examining data/libffado-2.4.2/src/rme/fireface_def.h
Examining data/libffado-2.4.2/src/rme/fireface_hw.cpp
Examining data/libffado-2.4.2/src/rme/fireface_settings_ctrls.cpp
Examining data/libffado-2.4.2/src/rme/rme_avdevice_settings.cpp
Examining data/libffado-2.4.2/src/rme/fireface_settings_ctrls.h
Examining data/libffado-2.4.2/src/rme/rme_shm.cpp
Examining data/libffado-2.4.2/src/rme/rme_shm.h
Examining data/libffado-2.4.2/src/oxford/oxford_device.cpp
Examining data/libffado-2.4.2/src/oxford/oxford_device.h
Examining data/libffado-2.4.2/src/dice/dice_avdevice.h
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_56.h
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro40.cpp
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro14.cpp
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro24.cpp
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro26.cpp
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro40.h
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_56.cpp
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro14.h
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro24.h
Examining data/libffado-2.4.2/src/dice/focusrite/saffire_pro26.h
Examining data/libffado-2.4.2/src/dice/focusrite/focusrite_eap.h
Examining data/libffado-2.4.2/src/dice/focusrite/focusrite_eap.cpp
Examining data/libffado-2.4.2/src/dice/dice_avdevice.cpp
Examining data/libffado-2.4.2/src/dice/maudio/profire_2626.cpp
Examining data/libffado-2.4.2/src/dice/maudio/profire_2626.h
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_project.h
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_mobile.h
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_tube.cpp
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_tube.h
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_project.cpp
Examining data/libffado-2.4.2/src/dice/presonus/firestudio_mobile.cpp
Examining data/libffado-2.4.2/src/dice/dice_eap.cpp
Examining data/libffado-2.4.2/src/dice/dice_eap.h
Examining data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp
Examining data/libffado-2.4.2/src/dice/dice_firmware_loader.h
Examining data/libffado-2.4.2/src/dice/dice_defines.h
Examining data/libffado-2.4.2/src/genericavc/avc_avdevice.cpp
Examining data/libffado-2.4.2/src/genericavc/avc_avdevice.h
Examining data/libffado-2.4.2/src/genericavc/stanton/scs.h
Examining data/libffado-2.4.2/src/genericavc/stanton/scs.cpp
Examining data/libffado-2.4.2/src/digidesign/digidesign_avdevice.cpp
Examining data/libffado-2.4.2/src/digidesign/digidesign_avdevice.h
Examining data/libffado-2.4.2/src/bounce/bounce_slave_avdevice.cpp
Examining data/libffado-2.4.2/src/bounce/bounce_slave_avdevice.h
Examining data/libffado-2.4.2/src/bounce/bounce_avdevice.cpp
Examining data/libffado-2.4.2/src/bounce/bounce_avdevice.h
Examining data/libffado-2.4.2/src/devicemanager.cpp
Examining data/libffado-2.4.2/src/devicemanager.h
Examining data/libffado-2.4.2/src/ffadodevice.cpp
Examining data/libffado-2.4.2/src/motu/motu_avdevice.cpp
Examining data/libffado-2.4.2/src/motu/motu_avdevice.h
Examining data/libffado-2.4.2/src/motu/motu_controls.cpp
Examining data/libffado-2.4.2/src/motu/motu_mixerdefs.h
Examining data/libffado-2.4.2/src/motu/motu_mixer.cpp
Examining data/libffado-2.4.2/src/motu/motu_mixerdefs.cpp
Examining data/libffado-2.4.2/src/motu/motu_mark3_controls.cpp
Examining data/libffado-2.4.2/src/motu/motu_mark3_mixerdefs.cpp
Examining data/libffado-2.4.2/src/motu/motu_mark3_controls.h
Examining data/libffado-2.4.2/src/motu/motu_controls.h
Examining data/libffado-2.4.2/src/motu/motu_mark3_mixerdefs.h
Examining data/libffado-2.4.2/src/metrichalo/mh_avdevice.cpp
Examining data/libffado-2.4.2/src/metrichalo/mh_avdevice.h
Examining data/libffado-2.4.2/src/libieee1394/configrom.cpp
Examining data/libffado-2.4.2/src/libieee1394/CycleTimerHelper.cpp
Examining data/libffado-2.4.2/src/libieee1394/cycletimer.h
Examining data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp
Examining data/libffado-2.4.2/src/libieee1394/IsoHandlerManager.cpp
Examining data/libffado-2.4.2/src/libieee1394/test-cyclecalc.cpp
Examining data/libffado-2.4.2/src/libieee1394/IsoHandlerManager.h
Examining data/libffado-2.4.2/src/libieee1394/vendor_model_ids.h
Examining data/libffado-2.4.2/src/libieee1394/ieee1394service.h
Examining data/libffado-2.4.2/src/libieee1394/csr1212.c
Examining data/libffado-2.4.2/src/libieee1394/ARMHandler.cpp
Examining data/libffado-2.4.2/src/libieee1394/CycleTimerHelper.h
Examining data/libffado-2.4.2/src/libieee1394/configrom.h
Examining data/libffado-2.4.2/src/libieee1394/csr1212.h
Examining data/libffado-2.4.2/src/libieee1394/IEC61883.cpp
Examining data/libffado-2.4.2/src/libieee1394/IEC61883.h
Examining data/libffado-2.4.2/src/DeviceStringParser.cpp
Examining data/libffado-2.4.2/src/debugmodule/debugmodule.cpp
Examining data/libffado-2.4.2/src/debugmodule/debugmodule.h
Examining data/libffado-2.4.2/src/debugmodule/test_debugmodule.cpp
Examining data/libffado-2.4.2/src/ffadotypes.h
Examining data/libffado-2.4.2/src/libcontrol/ClockSelect.h
Examining data/libffado-2.4.2/src/libcontrol/BasicElements.h
Examining data/libffado-2.4.2/src/libcontrol/ClockSelect.cpp
Examining data/libffado-2.4.2/src/libcontrol/CrossbarRouter.h
Examining data/libffado-2.4.2/src/libcontrol/Element.cpp
Examining data/libffado-2.4.2/src/libcontrol/MatrixMixer.h
Examining data/libffado-2.4.2/src/libcontrol/MatrixMixer.cpp
Examining data/libffado-2.4.2/src/libcontrol/Element.h
Examining data/libffado-2.4.2/src/libcontrol/CrossbarRouter.cpp
Examining data/libffado-2.4.2/src/libcontrol/Nickname.cpp
Examining data/libffado-2.4.2/src/libcontrol/Nickname.h
Examining data/libffado-2.4.2/src/libcontrol/BasicElements.cpp
Examining data/libffado-2.4.2/src/ffado.cpp
Examining data/libffado-2.4.2/src/fbtypes.h
Examining data/libffado-2.4.2/src/DeviceStringParser.h
Examining data/libffado-2.4.2/tests/streaming/teststreaming3.cpp
Examining data/libffado-2.4.2/tests/streaming/teststreaming-ipc.cpp
Examining data/libffado-2.4.2/tests/streaming/test-ipcclient.cpp
Examining data/libffado-2.4.2/tests/streaming/test-isohandling.cpp
Examining data/libffado-2.4.2/tests/systemtests/test-sysload.cpp
Examining data/libffado-2.4.2/tests/systemtests/test-clock_nanosleep.cpp
Examining data/libffado-2.4.2/tests/systemtests/gen-loadpulses.cpp
Examining data/libffado-2.4.2/tests/systemtests/test-isorecv-1.cpp
Examining data/libffado-2.4.2/tests/systemtests/test-isoxmit-1.cpp
Examining data/libffado-2.4.2/tests/systemtests/realtimetools.cpp
Examining data/libffado-2.4.2/tests/systemtests/realtimetools.h
Examining data/libffado-2.4.2/tests/test-mixer.cpp
Examining data/libffado-2.4.2/tests/test-pan.cpp
Examining data/libffado-2.4.2/tests/scan-devreg.cpp
Examining data/libffado-2.4.2/tests/test-timestampedbuffer.cpp
Examining data/libffado-2.4.2/tests/test-ieee1394service.cpp
Examining data/libffado-2.4.2/tests/test-ffado.cpp
Examining data/libffado-2.4.2/tests/test-focusrite.cpp
Examining data/libffado-2.4.2/tests/test-bufferops.cpp
Examining data/libffado-2.4.2/tests/test-volume.cpp
Examining data/libffado-2.4.2/tests/test-enhanced-mixer.cpp
Examining data/libffado-2.4.2/tests/test-echomixer.cpp
Examining data/libffado-2.4.2/tests/set-default-router-config-dice-eap.cpp
Examining data/libffado-2.4.2/tests/test-avccmd.cpp
Examining data/libffado-2.4.2/tests/test-dice-eap.cpp
Examining data/libffado-2.4.2/tests/test-scs.cpp
Examining data/libffado-2.4.2/tests/test-cycle-time.c
Examining data/libffado-2.4.2/tests/test-streamdump.cpp
Examining data/libffado-2.4.2/tests/test-ipcringbuffer.cpp
Examining data/libffado-2.4.2/tests/test-shm.cpp
Examining data/libffado-2.4.2/tests/test-messagequeue.cpp
Examining data/libffado-2.4.2/tests/test-fw410.cpp
Examining data/libffado-2.4.2/tests/unmute-ozonic.cpp
Examining data/libffado-2.4.2/tests/dumpiso_mod.cpp
Examining data/libffado-2.4.2/tests/test-watchdog.cpp
Examining data/libffado-2.4.2/tests/test-devicestringparser.cpp
Examining data/libffado-2.4.2/tests/test-extplugcmd.cpp
Examining data/libffado-2.4.2/tests/test-echo.cpp

FINAL RESULTS:

data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:124:14:  [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.
    retval = vsnprintf(msg+chars_written, MB_BUFFERSIZE, format, arg);
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:196:14:  [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.
    retval = vsnprintf( msg + chars_written,
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:672:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,msg);
data/libffado-2.4.2/src/debugmodule/debugmodule.h:310:35:  [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.
            __attribute__((format(printf, 3, 4)))
data/libffado-2.4.2/src/debugmodule/debugmodule.h:321:35:  [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.
            __attribute__((format(printf, 6, 7)))
data/libffado-2.4.2/src/motu/motu_avdevice.cpp:1955:17:  [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(namestr, sizeof(namestr), devprop->portgroup_entry[entry].group_name_format, 
data/libffado-2.4.2/src/motu/motu_avdevice.cpp:1959:17:  [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(namestr, sizeof(namestr), devprop->portgroup_entry[entry].group_name_format,
data/libffado-2.4.2/tests/test-cycle-time.c:149:6:  [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(buf) != 0)
data/libffado-2.4.2/src/bebob/bebob_avdevice.cpp:819:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        path.insert( 0, getenv( "HOME" ) ); // prepend the home path
data/libffado-2.4.2/src/libutil/Configuration.cpp:526:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *homedir = getenv("HOME");
data/libffado-2.4.2/src/libutil/Configuration.cpp:542:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *homedir = getenv("HOME");
data/libffado-2.4.2/src/libutil/SystemTimeSource.cpp:121:20:  [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.
    long int rnd = random();
data/libffado-2.4.2/tests/dumpiso_mod.cpp:72:21:  [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.
                c = getopt_long(argc, argv, "hc:p:", opts, &index);
data/libffado-2.4.2/tests/test-ieee1394service.cpp:296:17:  [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.
        int c = getopt_long( argc, argv, "p:h", long_opts, &optindex );
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:129: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).
    m_file = fopen( m_filename.c_str(), "r" );
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:345: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 buf[headerLength];
data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp:594: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 buf[ ( ( cmd.getMaxSize()+3 )/4 ) * 4 ];
data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp:622: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 raw[buf_length];
data/libffado-2.4.2/src/bebob/focusrite/focusrite_saffirepro.cpp:982: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[16]; // the device name field length is fixed
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:117: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[MB_BUFFERSIZE];
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:172: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[MB_BUFFERSIZE];
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:692: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 name[64];
data/libffado-2.4.2/src/debugmodule/debugmodule.h:392: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 mb_buffers[DEBUG_MB_BUFFERS][MB_BUFFERSIZE];
data/libffado-2.4.2/src/debugmodule/debugmodule.h:404: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 m_backtrace_strbuffer[MB_BUFFERSIZE];
data/libffado-2.4.2/src/debugmodule/debugmodule.h:415: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 bl_mb_buffers[DEBUG_BACKLOG_MB_BUFFERS][MB_BUFFERSIZE];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:667: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 namestring[DICE_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:687: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 namestring[DICE_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:847: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(dir, "TX");
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:854: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(dir, "RX");
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:1518: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 namestring[DICE_TX_NAMES_SIZE+1];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:1538: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 namestring[DICE_RX_NAMES_SIZE+1];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:1570: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 namestring[DICE_CLOCKSOURCENAMES_SIZE+1];
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:1838: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(data_out, data, length);
data/libffado-2.4.2/src/dice/dice_avdevice.h:233: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 dir[3];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1315: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 tmp[128];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1335: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[bufflen];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1449:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[32];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1485:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[32];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1527: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[4];
data/libffado-2.4.2/src/dice/dice_eap.cpp:1539: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[4];
data/libffado-2.4.2/src/dice/dice_eap.cpp:2134: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 namestring[DICE_EAP_CHANNEL_CONFIG_NAMESTR_LEN_BYTES+1];
data/libffado-2.4.2/src/dice/dice_eap.cpp:2136: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(namestring, b.names, DICE_EAP_CHANNEL_CONFIG_NAMESTR_LEN_BYTES);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:168: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(pflash_info, &flash_info, sizeof(flash_info));
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp: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 pvalue0[11];
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:259: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 pvalue1[11];
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:344: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(imageDelete.name, image, strlen(image)+1);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:506: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(imageCreate.name, image, strlen(image)+1);
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:82: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[MAX_IMAGE_NAME];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:86: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[MAX_IMAGE_NAME];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h: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 ReadBuffer[500]/*[4000]*/;
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:122: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[MAX_IMAGE_NAME];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:133: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		BuildTime[64];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:134: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		BuildDate[64];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:139: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		uiVendorID[8];
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:156: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		BuildTime[64];				//Build time
data/libffado-2.4.2/src/dice/dice_firmware_loader.h:157: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		BuildDate[64];				//Build date
data/libffado-2.4.2/src/dice/focusrite/saffire_56.cpp:541: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 nickname[SAFFIRE_56_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_56.cpp:561: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 nickname[SAFFIRE_56_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro14.cpp:392: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 nickname[SAFFIRE_PRO14_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro14.cpp:412: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 nickname[SAFFIRE_PRO14_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro24.cpp: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 nickname[SAFFIRE_PRO24_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro24.cpp:485: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 nickname[SAFFIRE_PRO24_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro26.cpp:409: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 nickname[SAFFIRE_PRO26_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro26.cpp:430: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 nickname[SAFFIRE_PRO26_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro40.cpp:518: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 nickname[SAFFIRE_PRO40_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/dice/focusrite/saffire_pro40.cpp:538: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 nickname[SAFFIRE_PRO40_APP_NICK_NAME_SIZE+1];
data/libffado-2.4.2/src/digidesign/digidesign_avdevice.cpp:474: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/libffado-2.4.2/src/ffado.cpp:105: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 *)&dev->options, (void *)&options, sizeof(dev->options));
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.h:77: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                m_vendor_name[ HWINFO_NAME_SIZE_BYTES ];
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.h:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                m_model_name[ HWINFO_NAME_SIZE_BYTES ];
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:131:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(m_data, f.m_data, m_length_quads*sizeof(uint32_t));
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:152: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(m_data, f.m_data, m_length_quads*sizeof(uint32_t));
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:233:12:  [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).
    fwfile.open( filename.c_str(), ios::in | ios::ate);
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:374:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(m_data, data, len*sizeof(uint32_t));
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:393: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(buff, m_data, m_length_quads*4);
data/libffado-2.4.2/src/fireworks/fireworks_firmware.cpp:456:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&m_datlists, &datlists, sizeof(datlists));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:189: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).
    sessfile.open( filename.c_str(), ios::in | ios::ate | ios::binary);
data/libffado-2.4.2/src/fireworks/fireworks_session_block.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 data[size];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:222: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).
    sessfile.open( filename.c_str(), ios::out | ios::trunc | ios::binary);
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:230: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 header[ECHO_SESSION_FILE_START_OFFSET];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:235: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 data[size];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:253:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&h, raw, sizeof(SessionHeader));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:254: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(&s, raw+sizeof(SessionHeader), sizeof(SubSession));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:280: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(raw, &h, sizeof(SessionHeader));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:281: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(raw+sizeof(SessionHeader), &s, sizeof(SubSession));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:299: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 data[len];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:300: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(data, &h, sizeof(SessionHeader));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:301: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(data+sizeof(SessionHeader), &s, sizeof(SubSession));
data/libffado-2.4.2/src/fireworks/fireworks_session_block.h: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    label[ECHO_SESSION_MAX_LABEL_SIZE];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.h: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    label[ECHO_SESSION_MAX_LABEL_SIZE];
data/libffado-2.4.2/src/fireworks/fireworks_session_block.h:82: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[ECHO_SESSION_MAX_LABEL_SIZE];
data/libffado-2.4.2/src/genericavc/stanton/scs.cpp:161: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 tmpbuffer[len_quadlets*4];
data/libffado-2.4.2/src/genericavc/stanton/scs.cpp:163: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(tmpbuffer+1, buffer, len);
data/libffado-2.4.2/src/genericavc/stanton/scs.cpp:221: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(data_out, data, length_quads*4);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:260: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(m_data+bytes_read,readDescCmd.m_data, readDescCmd.m_data_length);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:222: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(m_data, cmd_data, m_data_length);
data/libffado-2.4.2/src/libavc/general/avc_generic.cpp:160: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[DEBUG_MAX_MESSAGE_LENGTH];
data/libffado-2.4.2/src/libavc/general/avc_generic.h:44: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 fcp_frame_t[fcpFrameMaxLength];
data/libffado-2.4.2/src/libavc/musicsubunit/avc_musicsubunit.cpp:244: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 plugstr[32];
data/libffado-2.4.2/src/libcontrol/ClockSelect.cpp:126: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[16];
data/libffado-2.4.2/src/libcontrol/ClockSelect.cpp:238: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[16];
data/libffado-2.4.2/src/libieee1394/configrom.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( buf,
data/libffado-2.4.2/src/libieee1394/configrom.cpp:193: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( buf,
data/libffado-2.4.2/src/libieee1394/csr1212.c:241: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(csr->bus_info_data, bus_info_data, csr->bus_info_len);
data/libffado-2.4.2/src/libieee1394/csr1212.c:296: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(kv->value.leaf.data, data, data_len);
data/libffado-2.4.2/src/libieee1394/csr1212.c:477: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(CSR1212_DESCRIPTOR_LEAF_DATA(kv), data, data_len);
data/libffado-2.4.2/src/libieee1394/csr1212.c:508: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(lstr, data, data_len);
data/libffado-2.4.2/src/libieee1394/csr1212.c:587: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(CSR1212_ICON_DESCRIPTOR_LEAF_PALETTE(kv), palette,
data/libffado-2.4.2/src/libieee1394/csr1212.c:590: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(CSR1212_ICON_DESCRIPTOR_LEAF_PIXELS(kv), pixels, pixel_size);
data/libffado-2.4.2/src/libieee1394/csr1212.c:661:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer, strv[i], len);
data/libffado-2.4.2/src/libieee1394/csr1212.c:1084: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(kvi->data, kv->value.leaf.data,
data/libffado-2.4.2/src/libieee1394/csr1212.c:1225: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(buffer,
data/libffado-2.4.2/src/libieee1394/csr1212.c:1423: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(kv->value.leaf.data, kvi->data, quads_to_bytes(kvi_len));
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:758: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(m_fcp_block.request, buf, len*sizeof(quadlet_t));
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:762: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(m_fcp_block.request, buf, MAX_FCP_BLOCK_SIZE_BYTES);
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:968: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(m_fcp_block.response, data, length);
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:970: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(fcp_block_last.response, data, length);
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:1563: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(&m_channels[c], &cinfo, sizeof(struct ChannelInfo));
data/libffado-2.4.2/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp:278: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 tmpbuff[8192];
data/libffado-2.4.2/src/libstreaming/motu/MotuReceiveStreamProcessor.h:80: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 channel_gain[MOTUFW_MAX_MIXBUS_CHANNELS];
data/libffado-2.4.2/src/libstreaming/motu/MotuReceiveStreamProcessor.h:82: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 channel_pan[MOTUFW_MAX_MIXBUS_CHANNELS];
data/libffado-2.4.2/src/libstreaming/motu/MotuReceiveStreamProcessor.h:84: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 channel_control[MOTUFW_MAX_MIXBUS_CHANNELS];
data/libffado-2.4.2/src/libstreaming/motu/MotuTransmitStreamProcessor.cpp:317: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(sample,((char *)&val)+1,3);
data/libffado-2.4.2/src/libstreaming/util/cip.h:61: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 data[0];
data/libffado-2.4.2/src/libstreaming/util/cip.h:85: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 data[0];
data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp:413: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(xmit_block, block, m_blocksize);
data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp:553: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(block, rcv_block, m_blocksize);
data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp:591: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(buff, &m_header, sizeof(m_header));
data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp:593: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(buff, m_data, m_data_len);
data/libffado-2.4.2/src/libutil/IpcRingBuffer.cpp:613:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(m_data, buff, m_data_len);
data/libffado-2.4.2/src/libutil/IpcRingBuffer.h: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                m_data[FFADO_IPC_MAX_MESSAGE_SIZE];
data/libffado-2.4.2/src/libutil/PosixMutex.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 name[ DEBUG_LOCK_COLLISION_TRACING_NAME_MAXLEN ];
data/libffado-2.4.2/src/libutil/PosixMutex.cpp:111: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 name1[ DEBUG_LOCK_COLLISION_TRACING_NAME_MAXLEN ];
data/libffado-2.4.2/src/libutil/PosixMutex.cpp:114: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 name2[ DEBUG_LOCK_COLLISION_TRACING_NAME_MAXLEN ];
data/libffado-2.4.2/src/libutil/PosixMutex.cpp:185: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[ DEBUG_LOCK_COLLISION_TRACING_NAME_MAXLEN ];
data/libffado-2.4.2/src/libutil/PosixSharedMemory.cpp:205: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(addr, buff, len);
data/libffado-2.4.2/src/libutil/PosixSharedMemory.cpp:225: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(buff, addr, len);
data/libffado-2.4.2/src/libutil/TimestampedBuffer.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 dummy[write_size]; // one frame of garbage
data/libffado-2.4.2/src/libutil/cmd_serialize.cpp:185: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(m_curPos, v, len);
data/libffado-2.4.2/src/libutil/ringbuffer.c:189: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 (dest, &(rb->buf[rb->read_ptr]), n1);
data/libffado-2.4.2/src/libutil/ringbuffer.c:193: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 (dest + n1, &(rb->buf[rb->read_ptr]), n2);
data/libffado-2.4.2/src/libutil/ringbuffer.c:231: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 (dest, &(rb->buf[tmp_read_ptr]), n1);
data/libffado-2.4.2/src/libutil/ringbuffer.c:236: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 (dest + n1, &(rb->buf[tmp_read_ptr]), n2);
data/libffado-2.4.2/src/libutil/ringbuffer.c:273: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 (&(rb->buf[rb->write_ptr]), src, n1);
data/libffado-2.4.2/src/libutil/ringbuffer.c:277: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 (&(rb->buf[rb->write_ptr]), src + n1, n2);
data/libffado-2.4.2/src/libutil/serialize_expat_xml.cpp:380:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file.open(filename.c_str());
data/libffado-2.4.2/src/libutil/serialize_expat_xml.cpp:395:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file.open(filename.c_str());
data/libffado-2.4.2/src/motu/motu_avdevice.cpp:1946: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 namestr[64];
data/libffado-2.4.2/src/motu/motu_mixer.cpp:111: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 name[100];
data/libffado-2.4.2/src/motu/motu_mixer.cpp:112: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[100];
data/libffado-2.4.2/src/rme/fireface_def.h:478: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 input_mixerflags[FF_MATRIXMIXER_SIZE];
data/libffado-2.4.2/src/rme/fireface_def.h:479: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 playback_mixerflags[FF_MATRIXMIXER_SIZE];
data/libffado-2.4.2/src/rme/fireface_def.h:480: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 output_mixerflags[FF_MATRIXMIXER_SIZE];
data/libffado-2.4.2/src/rme/fireface_settings_ctrls.cpp:574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/libffado-2.4.2/src/rme/fireface_settings_ctrls.cpp:611:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/libffado-2.4.2/src/rme/rme_avdevice.cpp:257: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 path[32], desc[64];
data/libffado-2.4.2/src/rme/rme_avdevice.cpp:1068: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/libffado-2.4.2/src/rme/rme_shm.h:49: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 shm_name[RME_SHM_NAMELEN];
data/libffado-2.4.2/support/alsa/alsa_plugin.cpp:189:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1];
data/libffado-2.4.2/support/alsa/alsa_plugin.cpp: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.
    static char buf[1];
data/libffado-2.4.2/support/firmware/dice-firmware-utility.cpp:261: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 s[1024];
data/libffado-2.4.2/support/tools/ffado-set-nickname.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 s[1024];
data/libffado-2.4.2/tests/dumpiso_mod.cpp:150: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.
        static char header[32] = "1394 isodump v3";
data/libffado-2.4.2/tests/dumpiso_mod.cpp:178:16:  [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).
        file = open(filename, O_CREAT | O_WRONLY, 0666);
data/libffado-2.4.2/tests/scan-devreg.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 chr[100];
data/libffado-2.4.2/tests/scan-devreg.cpp:273: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 present[arguments.scan_length/(4*32)+1];
data/libffado-2.4.2/tests/set-default-router-config-dice-eap.cpp:199:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[1024];
data/libffado-2.4.2/tests/streaming/test-ipcclient.cpp:246:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char capture_buff[capture_buffsize];
data/libffado-2.4.2/tests/streaming/test-ipcclient.cpp:247: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 playback_buff[playback_buffsize];
data/libffado-2.4.2/tests/streaming/test-ipcclient.cpp:268: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(&sine_buff[i], &tmp, 4);
data/libffado-2.4.2/tests/streaming/test-ipcclient.cpp:272: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(target, &sine_buff, arguments.period*4);
data/libffado-2.4.2/tests/streaming/teststreaming-ipc.cpp:492:84:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                ffado_streaming_set_capture_stream_buffer(dev, i, (char *)(audiobuffers_in[i]));
data/libffado-2.4.2/tests/streaming/teststreaming-ipc.cpp:497:84:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                ffado_streaming_set_capture_stream_buffer(dev, i, (char *)(audiobuffers_in[i]));
data/libffado-2.4.2/tests/streaming/teststreaming-ipc.cpp:555:85:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                ffado_streaming_set_playback_stream_buffer(dev, i, (char *)(audiobuffers_out[i]));
data/libffado-2.4.2/tests/streaming/teststreaming-ipc.cpp:560:85:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                ffado_streaming_set_playback_stream_buffer(dev, i, (char *)(audiobuffers_out[i]));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:340:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ffado_streaming_set_capture_stream_buffer(dev, i, (char *)(audiobuffers_in[i]));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:346:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ffado_streaming_set_capture_stream_buffer(dev, i, (char *)(audiobuffers_in[i]));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:360:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ffado_streaming_set_playback_stream_buffer(dev, i, (char *)(audiobuffers_out[i]));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:365:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ffado_streaming_set_playback_stream_buffer(dev, i, (char *)(audiobuffers_out[i]));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:435: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(&nullbuffer[i], &tmp, sizeof(float));
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:442: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((char *)(audiobuffers_out[i]), (char *)(nullbuffer), sizeof(float) * arguments.period);
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:442:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    memcpy((char *)(audiobuffers_out[i]), (char *)(nullbuffer), sizeof(float) * arguments.period);
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:453:29:  [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 *)(audiobuffers_out[i]), (char *)(audiobuffers_in[i]), sizeof(float) * arguments.period);
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:453:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            memcpy((char *)(audiobuffers_out[i]), (char *)(audiobuffers_in[i]), sizeof(float) * arguments.period);
data/libffado-2.4.2/tests/streaming/teststreaming3.cpp:453:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            memcpy((char *)(audiobuffers_out[i]), (char *)(audiobuffers_in[i]), sizeof(float) * arguments.period);
data/libffado-2.4.2/tests/systemtests/test-isoxmit-1.cpp:163: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((char *)data, "Hello World %8u\n", count);
data/libffado-2.4.2/tests/test-cycle-time.c:98:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(argv[1], O_RDWR);
data/libffado-2.4.2/tests/test-cycle-time.c:147: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[200];
data/libffado-2.4.2/tests/test-cycle-time.c:148:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "grep %06X /usr/share/misc/oui.db", rom[3] >> 8);
data/libffado-2.4.2/tests/test-dice-eap.cpp:205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[1024];
data/libffado-2.4.2/tests/test-ieee1394service.cpp:301: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).
                PORT_TO_USE = atoi( optarg );
data/libffado-2.4.2/tests/test-ieee1394service.cpp:304: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).
                VERBOSE_LEVEL = atoi( optarg );
data/libffado-2.4.2/tests/test-ipcringbuffer.cpp:171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[BUFF_SIZE];
data/libffado-2.4.2/tests/test-messagequeue.cpp:145: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[length+1];
data/libffado-2.4.2/tests/test-scs.cpp:324: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 m_work_buffer[MIDI_TRANSMIT_BUFFER_SIZE];
data/libffado-2.4.2/tests/test-scs.cpp:325: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 m_sysex_buffer[MIDI_TRANSMIT_BUFFER_SIZE];
data/libffado-2.4.2/tests/test-scs.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 s[1024];
data/libffado-2.4.2/tests/test-shm.cpp:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[len];
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:195:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x08, &m_softwareDate ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:198:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x10, &m_softwareTime ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:201:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x18, &m_softwareId ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:204:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x1c, &m_softwareVersion ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:207:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x20, &m_hardwareId ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:210:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x24, &m_vendorOUI ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:213:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x30, &m_imageOffset ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:216:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x34, &m_imageBaseAddress ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:219:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x38, &m_imageLength ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:222:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x3c, &m_imageCRC ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:225:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x50, &m_cneOffset ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:228:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x58, &m_cneLength ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:231:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x5c, &m_cneCRC ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:238:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BeBoB::BCD::read( int addr, fb_quadlet_t* q )
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:256:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BeBoB::BCD::read( int addr, fb_octlet_t* o )
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:274:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BeBoB::BCD::read( int addr, unsigned char* b, size_t len )
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:339:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( crcOffset, &headerCRC ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.cpp:346:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !read( 0x00, buf, headerLength ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.h:72:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read( int addr, fb_quadlet_t* q );
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.h:73:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read( int addr, fb_octlet_t* o );
data/libffado-2.4.2/src/bebob/bebob_dl_bcd.h:74:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( int addr, unsigned char* b, size_t len );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:70:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool result = de.read( &m_resp_protocolVersion );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:72:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &tmp );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:74:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &tmp );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:76:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_commandCode );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:77:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_operandSize );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:197:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( reinterpret_cast<fb_quadlet_t*>( &m_resp_max_block_size ) );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:236:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_seqNumber );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:237:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_errorCode );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:264:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_crc32 );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:265:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_valid );
data/libffado-2.4.2/src/bebob/bebob_dl_codes.cpp:345:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_resp_validCRC );
data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp:137:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !m_ieee1394service->read(
data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp:438:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( !bcd.read( offset, block, blockSize ) ) {
data/libffado-2.4.2/src/bebob/bebob_dl_mgr.cpp:623:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !get1394Serivce()->read(
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:194:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( basePath + "m_type", type );
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:195:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_subtype", subtype );
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:229:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_id", pFB->m_id );
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:230:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_purpose", pFB->m_purpose );
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:231:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_nrOfInputPlugs", pFB->m_nrOfInputPlugs );
data/libffado-2.4.2/src/bebob/bebob_functionblock.cpp:232:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_nrOfOutputPlugs", pFB->m_nrOfOutputPlugs );
data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.cpp:68:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_arg1);
data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.cpp:69:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_arg2);
data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.cpp:70:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_id);
data/libffado-2.4.2/src/bebob/focusrite/focusrite_cmd.cpp:72:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_value);
data/libffado-2.4.2/src/bebob/presonus/inspire1394_avdevice.cpp:58:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_subfunc);
data/libffado-2.4.2/src/bebob/presonus/inspire1394_avdevice.cpp:59:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_idx );
data/libffado-2.4.2/src/bebob/presonus/inspire1394_avdevice.cpp:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_arg );
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:57:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_subfunction);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:85:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_syncstate);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:132:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_midichannel);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:159:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_mixercontrol);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:160:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_midicontroller);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:187:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_output);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:188:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source);
data/libffado-2.4.2/src/bebob/terratec/terratec_cmd.cpp:214:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_deviceid);
data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp:59:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_subfunction);
data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp:89:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_syncstate);
data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp:124:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp);
data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp:125:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp);
data/libffado-2.4.2/src/bebob/yamaha/yamaha_cmd.cpp:126:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_digin);
data/libffado-2.4.2/src/bounce/bounce_avdevice.cpp:543:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!get1394Service().read( nodeId, addr, length, data ) ) {
data/libffado-2.4.2/src/bounce/bounce_slave_avdevice.cpp:383:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    i = strlen(dir.textual_leafs[0]);
data/libffado-2.4.2/src/bounce/bounce_slave_avdevice.cpp:384:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dir.textual_leafs[0], FFADO_BOUNCE_SERVER_VENDORNAME "                                          ", i);
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:625:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(bl_mb_buffers[bl_mb_inbuffer], msg, MB_BUFFERSIZE);
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:656:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(mb_buffers[mb_inbuffer], msg, MB_BUFFERSIZE);
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:774:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(buff, outbuf, len);
data/libffado-2.4.2/src/debugmodule/debugmodule.cpp:776:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(buff, outbuf, length);
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:440: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/libffado-2.4.2/src/dice/dice_avdevice.cpp:668:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(namestring, name.c_str(), DICE_NICK_NAME_SIZE);
data/libffado-2.4.2/src/dice/dice_avdevice.cpp:1815:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(!get1394Service().read( nodeId, curr_addr, quads_todo, curr_data ) ) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:366:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_routing_low.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:370:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_routing_mid.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:374:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_routing_high.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:378:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_stream_low.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:382:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_stream_mid.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:386:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!m_current_cfg_stream_high.read()) {
data/libffado-2.4.2/src/dice/dice_eap.cpp:1731:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_peak.read();
data/libffado-2.4.2/src/dice/dice_eap.cpp:1739:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_peak.read();
data/libffado-2.4.2/src/dice/dice_eap.cpp:1779:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_peak.read();
data/libffado-2.4.2/src/dice/dice_eap.cpp:1800:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EAP::RouterConfig::read(enum eRegBase base, unsigned offset)
data/libffado-2.4.2/src/dice/dice_eap.cpp:1972:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EAP::PeakSpace::read(enum eRegBase base, unsigned offset)
data/libffado-2.4.2/src/dice/dice_eap.cpp:2049:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EAP::StreamConfig::read(enum eRegBase base, unsigned offset)
data/libffado-2.4.2/src/dice/dice_eap.cpp:2193:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EAP::StandaloneConfig::read(enum eRegBase base, unsigned offset)
data/libffado-2.4.2/src/dice/dice_eap.cpp:2221:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/libffado-2.4.2/src/dice/dice_eap.h:209:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:209:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:211:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(enum eRegBase b, unsigned offset);
data/libffado-2.4.2/src/dice/dice_eap.h:302:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:302:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:303:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(enum eRegBase b, unsigned offset);
data/libffado-2.4.2/src/dice/dice_eap.h:343:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:343:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:345:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(enum eRegBase b, unsigned offset);
data/libffado-2.4.2/src/dice/dice_eap.h:374:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:374:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read() {return read(m_base, m_offset);};
data/libffado-2.4.2/src/dice/dice_eap.h:376:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(enum eRegBase b, unsigned offset);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:71: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(10000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:119:6:  [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(4000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:153: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(10000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:187:4:  [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(100);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:229: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(10000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:287: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(10000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:316: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(10000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:344: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).
	memcpy(imageDelete.name, image, strlen(image)+1);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:355: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(300000);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:414:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			file.read((char*) upload_data.buffer, sizeof(upload_data));
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:431:6:  [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(100);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:465: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(1000000); //take care on polling, depends on dice-image size (to low values lead to a read error)
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:506: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).
			memcpy(imageCreate.name, image, strlen(image)+1);
data/libffado-2.4.2/src/dice/dice_firmware_loader.cpp:519: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(300000);
data/libffado-2.4.2/src/dice/focusrite/saffire_56.cpp:545:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nickname, name.c_str(), SAFFIRE_56_APP_NICK_NAME_SIZE);
data/libffado-2.4.2/src/dice/focusrite/saffire_pro14.cpp:396:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nickname, name.c_str(), SAFFIRE_PRO14_APP_NICK_NAME_SIZE);
data/libffado-2.4.2/src/dice/focusrite/saffire_pro24.cpp:468:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nickname, name.c_str(), SAFFIRE_PRO24_APP_NICK_NAME_SIZE);
data/libffado-2.4.2/src/dice/focusrite/saffire_pro26.cpp:413:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nickname, name.c_str(), SAFFIRE_PRO26_APP_NICK_NAME_SIZE);
data/libffado-2.4.2/src/dice/focusrite/saffire_pro40.cpp:522:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nickname, name.c_str(), SAFFIRE_PRO40_APP_NICK_NAME_SIZE);
data/libffado-2.4.2/src/digidesign/digidesign_avdevice.cpp:510:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, 1, &quadlet) <= 0) {
data/libffado-2.4.2/src/digidesign/digidesign_avdevice.cpp:527:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, n_quads, buf) <= 0) {
data/libffado-2.4.2/src/ffado.cpp:307:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (!strncpy(buffer, name.c_str(), buffersize)) {
data/libffado-2.4.2/src/ffado.cpp:321:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (!strncpy(buffer, name.c_str(), buffersize)) {
data/libffado-2.4.2/src/fireworks/efc/efc_avc_cmd.cpp:79:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dummy_1);
data/libffado-2.4.2/src/fireworks/efc/efc_avc_cmd.cpp:80:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dummy_2);
data/libffado-2.4.2/src/fireworks/efc/efc_cmd.cpp:142:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_length);
data/libffado-2.4.2/src/fireworks/efc/efc_cmd.cpp:148:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read((header_as_quadlets+i));
data/libffado-2.4.2/src/fireworks/efc/efc_cmd.h:101:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { __result__ &= __de__.read(__value__); \
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:76:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(vname++);
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:80:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(mname++);
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:91:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&(out_groups[i].type));
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:92:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&(out_groups[i].count));
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:97:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&(in_groups[i].type));
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware.cpp:98:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&(in_groups[i].count));
data/libffado-2.4.2/src/fireworks/efc/efc_cmds_hardware_ctrl.cpp:124: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(150000);
data/libffado-2.4.2/src/fireworks/fireworks_device.cpp:968: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(time_to_sleep_usecs);
data/libffado-2.4.2/src/fireworks/fireworks_session_block.cpp:201:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sessfile.read(data, size);
data/libffado-2.4.2/src/genericavc/avc_avdevice.cpp:190:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!get1394Service().read(getNodeId() | 0xFFC0, CSR_REGISTER_BASE + CSR_O_PCR_0, 1, oPCR0q)) {
data/libffado-2.4.2/src/genericavc/avc_avdevice.cpp:193:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!get1394Service().read(getNodeId() | 0xFFC0, CSR_REGISTER_BASE + CSR_I_PCR_0, 1, iPCR0q)) {
data/libffado-2.4.2/src/genericavc/stanton/scs.cpp:203:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(!get1394Service().read( nodeId, curr_addr, quads_todo, curr_data ) ) {
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:63:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_cluster_info_length);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:64:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_number_of_channels);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:65:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_ChConfigType);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:66:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_Predefined_ChannelConfig);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:73:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= de.read(&tmp);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:105:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_configuration_dependent_info_length);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:106:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_configuration_ID);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:110:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_number_of_subunit_source_plug_link_information);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:114:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&tmp);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:118:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_number_of_function_block_dependent_information);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:149:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_audio_subunit_dependent_info_fields_length);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:150:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_audio_subunit_version);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:151:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_number_of_configurations);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:206:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_generation_ID);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:207:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_size_of_list_ID);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:208:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_size_of_object_ID);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:209:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_size_of_object_position);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:211:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_number_of_root_object_lists);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:218:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= de.read(&dummy);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_descriptor_audio.cpp:223:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_audio_subunit_dependent_length);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:72:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus = de.read( &m_controlDataLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:73:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &val );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:75:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &val );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:125:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus = de.read( &m_controlDataLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:126:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &val );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:128:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &val );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:178:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus  = de.read( &m_controlSelector );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:179:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_controlDataLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:180:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_mixerSetting );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:181:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &padding );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:182:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &padding );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:266:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus  = de.read( &m_controlSelector );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:271:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_statusSelector );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:279:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &data_length_hi );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:280:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &data_length_lo );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:289:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                bStatus &= de.read( &value);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:303:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                bStatus &= de.read( &mixer_value_hi);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:304:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                bStatus &= de.read( &mixer_value_lo);
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:362:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus  = de.read( &m_selectorLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:363:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_inputFbPlugNumber );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:364:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_controlSelector );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:444:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus  = de.read( &m_selectorLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:445:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_audioChannelNumber );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:446:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_controlSelector );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:551:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus  = de.read( &m_selectorLength );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:552:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_fbInputPlugNumber );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:553:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_inputAudioChannelNumber );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:554:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_outputAudioChannelNumber );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:583:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (de.read(&tmp)) {
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:740:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_functionBlockType );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:741:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_functionBlockId );
data/libffado-2.4.2/src/libavc/audiosubunit/avc_function_block.cpp:742:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bStatus &= de.read( &m_controlAttribute );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:56:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:57:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:89:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:92:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:190:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &operand );
data/libffado-2.4.2/src/libavc/ccm/avc_signal_source.cpp:197:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &operand );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:78:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( (byte_t *)&m_type );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:84:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_info_block_type);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:85:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_info_block_instance );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:87:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_info_block_position);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:425:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_compound_length );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:426:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_info_block_type );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:427:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read( &m_primary_field_length );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:517:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&txt,m_compound_length-4);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:572:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&dummy16);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:573:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&dummy16);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:574:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&length1);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:575:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&dummy16);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:576:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&text_length);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor.cpp:581:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&txt,text_length);
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:104:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_status );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:105:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_reserved );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:106:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_locked_node_id );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:110:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_status );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:111:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_reserved );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:201:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( (byte_t *)&m_status );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:202:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( (byte_t *)&m_reserved );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:203:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( (uint16_t *)&m_data_length );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:204:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( (uint16_t *)&m_address );
data/libffado-2.4.2/src/libavc/descriptors/avc_descriptor_cmd.cpp:216:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                if (!de.read( (char **)&cmd_data, m_data_length )) {
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:54:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:55:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:90:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:91:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:92:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:129:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:130:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:131:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:166:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:167:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:168:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved2 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:208:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:209:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:210:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:211:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:212:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved2 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:254:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subunitType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:255:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subunitId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:256:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:257:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:258:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:302:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subunitType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:303:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subunitId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:304:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockType );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:305:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:306:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugId );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:345:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:346:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:347:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved2 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:348:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved3 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:349:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved4 );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:420:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugDirection );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:421:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_addressMode );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:518:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugDirection );
data/libffado-2.4.2/src/libavc/general/avc_extended_cmd_generic.cpp:519:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_addressMode );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:61:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_plugType );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:105: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).
    byte_t length = strlen( m_name.c_str() );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:120:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &length );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:125:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &name, length );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:163:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_nrOfChannels );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:225:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_nrOfClusters );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:228:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read ( &clusterInfo.m_nrOfChannels );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:231:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &channelInfo.m_streamPosition );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:232:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &channelInfo.m_location );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:278:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_streamPosition );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:279:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_stringLength );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:284:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &c );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:401:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_nrOfOutputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:462:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_clusterIndex );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:463:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_portType );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:464:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_stringLength );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:469:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &c );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:692:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_infoType );
data/libffado-2.4.2/src/libavc/general/avc_extended_plug_info.cpp:834:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subFunction );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:64:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockType );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:65:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockId );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:66:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_functionBlockSpecialPupose );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:67:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_noOfInputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:68:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_noOfOutputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:141:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    status &= de.read( &m_page );
data/libffado-2.4.2/src/libavc/general/avc_extended_subunit_info.cpp:142:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    status &= de.read( &m_fbType );
data/libffado-2.4.2/src/libavc/general/avc_generic.cpp:79:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_ctype );
data/libffado-2.4.2/src/libavc/general/avc_generic.cpp:80:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subunit );
data/libffado-2.4.2/src/libavc/general/avc_generic.cpp:81:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_opcode );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1695:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_streamPosition", info.m_streamPosition );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1696:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_location", info.m_location );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1697:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_name", info.m_name );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1756:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_index", info.m_index );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1757:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_portType", info.m_portType );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1758:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_name", info.m_name );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1759:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_nrOfChannels", info.m_nrOfChannels );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1761:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_streamFormat", info.m_streamFormat );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1818:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_samplingFrequency", info.m_samplingFrequency );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1819:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_isSyncStream", info.m_isSyncStream );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1820:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_audioChannels", info.m_audioChannels );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1821:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_midiChannels", info.m_midiChannels );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1822:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "/m_index", info.m_index );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1883:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( basePath + "m_subunitType", subunitType );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1884:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_subunitId", subunitId );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1887:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_functionBlockType", functionBlockType );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1888:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_functionBlockId", functionBlockId );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1889:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_addressType", addressType );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1890:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_direction", direction );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1891:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_id", id );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1892:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_globalId", globalId );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1906:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_infoPlugType", pPlug->m_infoPlugType );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1907:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_nrOfChannels", pPlug->m_nrOfChannels );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1908:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_name", pPlug->m_name );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:1910:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_samplingFrequency", pPlug->m_samplingFrequency );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:2417:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!deser.read( basePath + "m_globalIdCounter", pMgr->m_globalIdCounter )) {
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:2503:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( basePath + "m_srcPlug", iSrcPlugId );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:2504:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_destPlug",  iDestPlugId );
data/libffado-2.4.2/src/libavc/general/avc_plug.cpp:2637:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( !deser.read( strstrm.str() + "/global_id", iPlugId ) ) {
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:123:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subFunction );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:128:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_serialBusIsochronousInputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:129:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_serialBusIsochronousOutputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:130:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_externalInputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:131:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_externalOutputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:134:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_serialBusAsynchronousInputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:135:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_serialBusAsynchronousOuputPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:136:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &reserved );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:137:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &reserved );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:145:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_destinationPlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:146:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_sourcePlugs );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:147:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &reserved );
data/libffado-2.4.2/src/libavc/general/avc_plug_info.cpp:148:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &reserved );
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:80:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_plug);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:83:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:89:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[0]);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:90:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[1]);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:91:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[2]);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:140:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_plug);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:143:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:149:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[0]);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:150:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[1]);
data/libffado-2.4.2/src/libavc/general/avc_signal_format.cpp:151:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_fdf[2]);
data/libffado-2.4.2/src/libavc/general/avc_subunit.cpp:258:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( basePath + "m_sbType", sbType );
data/libffado-2.4.2/src/libavc/general/avc_subunit.cpp:268:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_sbId", pSubunit->m_sbId );
data/libffado-2.4.2/src/libavc/general/avc_subunit_info.cpp:84:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_subunit_info.cpp:90:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_unit.cpp:982:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result  = deser.read( strstrm.str() + "m_source", sourceId );
data/libffado-2.4.2/src/libavc/general/avc_unit.cpp:983:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "m_destination", destinationId );
data/libffado-2.4.2/src/libavc/general/avc_unit.cpp:984:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            result &= deser.read( strstrm.str() + "m_description", description );
data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp:72:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved );
data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp:75:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp:79:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp:82:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_unit_info.cpp:84:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/general/avc_vendor_dependent_cmd.cpp:68:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp[2]);
data/libffado-2.4.2/src/libavc/general/avc_vendor_dependent_cmd.cpp:69:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp[1]);
data/libffado-2.4.2/src/libavc/general/avc_vendor_dependent_cmd.cpp:70:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&tmp[0]);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:74:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_current_transmit_capability);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:75:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_current_receive_capability);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:76:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_current_latency_capability);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:171:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_stream_format);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:172:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_port_type);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:173:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_signals);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:179:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&s.music_plug_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:180:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&s.stream_position);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:181:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result &= de.read(&s.stream_location);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:321:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_subunit_plug_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:322:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_signal_format);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:323:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_plug_type);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:324:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_clusters);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:325:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_channels);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:451:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_music_plug_type);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:452:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_music_plug_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:453:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_routing_support);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:454:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source_plug_function_type);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:455:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source_plug_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:456:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source_plug_function_block_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:457:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source_stream_position);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:458:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_source_stream_location);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:459:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dest_plug_function_type);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:460:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dest_plug_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:461:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dest_plug_function_block_id);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:462:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dest_stream_position);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:463:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_dest_stream_location);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:611:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_dest_plugs);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:612:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_source_plugs);
data/libffado-2.4.2/src/libavc/musicsubunit/avc_descriptor_music.cpp:613:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= de.read(&m_nb_music_plugs);
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:65:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_numberOfChannels );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:66:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_streamFormat );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:106:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved0 );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:109:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &operand );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:113:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_reserved1 );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:176:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_samplingFrequency );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:177:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_rateControl );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:178:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_numberOfStreamFormatInfos );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:251:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_root );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:255:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_level1 );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:261:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            de.read( &m_level2 );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:357:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_subFunction );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:359:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    de.read( &m_status );
data/libffado-2.4.2/src/libavc/streamformat/avc_extended_stream_format.cpp:361:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        de.read( &m_indexInStreamFormat );
data/libffado-2.4.2/src/libieee1394/CycleTimerHelper.cpp:723: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*1000);
data/libffado-2.4.2/src/libieee1394/IsoHandlerManager.cpp:250: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(m_poll_timeout * 1000);
data/libffado-2.4.2/src/libieee1394/configrom.cpp:237:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            && !csr_info->service->read( csr_info->nodeId,
data/libffado-2.4.2/src/libieee1394/configrom.cpp:680:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( path + "m_nodeId", pConfigRom->m_nodeId );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:681:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_avcDevice", pConfigRom->m_avcDevice );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:682:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_guid", pConfigRom->m_guid );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:683:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_vendorName", pConfigRom->m_vendorName );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:684:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_modelName", pConfigRom->m_modelName );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:685:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_vendorId", pConfigRom->m_vendorId );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:686:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_modelId", pConfigRom->m_modelId );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:687:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_unit_specifier_id", pConfigRom->m_unit_specifier_id );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:688:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_unit_version", pConfigRom->m_unit_version );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:689:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_isIsoResourceManager", pConfigRom->m_isIsoResourceManager );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:690:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_isCycleMasterCapable", pConfigRom->m_isCycleMasterCapable );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:691:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_isSupportIsoOperations", pConfigRom->m_isSupportIsoOperations );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:692:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_isBusManagerCapable", pConfigRom->m_isBusManagerCapable );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:693:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_cycleClkAcc", pConfigRom->m_cycleClkAcc );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:694:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_maxRec", pConfigRom->m_maxRec );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:695:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_nodeVendorId", pConfigRom->m_nodeVendorId );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:696:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_chipIdHi", pConfigRom->m_chipIdHi );
data/libffado-2.4.2/src/libieee1394/configrom.cpp:697:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( path + "m_chipIdLow", pConfigRom->m_chipIdLow );
data/libffado-2.4.2/src/libieee1394/csr1212.c:549: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).
	return csr1212_new_textual_descriptor_leaf(0, 0, 0, s, strlen(s));
data/libffado-2.4.2/src/libieee1394/csr1212.c:645: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).
		data_len += strlen(strv[i]) + 1; /* Add zero-termination char. */
data/libffado-2.4.2/src/libieee1394/csr1212.c:660: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 len = strlen(strv[i]) + 1;
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:583:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Ieee1394Service::read( fb_nodeid_t nodeId,
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:627:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read( nodeId,  addr, sizeof( *buffer )/4, buffer );
data/libffado-2.4.2/src/libieee1394/ieee1394service.cpp:635:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read( nodeId, addr, sizeof( *buffer )/4,
data/libffado-2.4.2/src/libieee1394/ieee1394service.h:184:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( fb_nodeid_t nodeId,
data/libffado-2.4.2/src/libutil/Configuration.cpp:587:5:  [1] (buffer) equal:
  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.
    equal &= (vendor_id   == rhs.vendor_id);
data/libffado-2.4.2/src/libutil/Configuration.cpp:588:5:  [1] (buffer) equal:
  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.
    equal &= (model_id    == rhs.model_id);
data/libffado-2.4.2/src/libutil/Configuration.cpp:589:5:  [1] (buffer) equal:
  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.
    equal &= (vendor_name == rhs.vendor_name);
data/libffado-2.4.2/src/libutil/Configuration.cpp:590:5:  [1] (buffer) equal:
  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.
    equal &= (model_name  == rhs.model_name);
data/libffado-2.4.2/src/libutil/Configuration.cpp:591:5:  [1] (buffer) equal:
  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.
    equal &= (driver      == rhs.driver);
data/libffado-2.4.2/src/libutil/Configuration.cpp:593:12:  [1] (buffer) equal:
  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 equal;
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:133:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( basePath + "m_Name", tmpstr );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:135:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_stringValue", tmpstr );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:137:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_boolValue", op.m_boolValue );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:138:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_doubleValue", op.m_doubleValue );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:139:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_intValue", op.m_intValue );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:140:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_uintValue", op.m_uintValue );
data/libffado-2.4.2/src/libutil/OptionContainer.cpp:141:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( basePath + "m_Type", op.m_Type );
data/libffado-2.4.2/src/libutil/cmd_serialize.cpp:205:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BufferDeserialize::read( byte_t* value )
data/libffado-2.4.2/src/libutil/cmd_serialize.cpp:217:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BufferDeserialize::read( uint16_t* value )
data/libffado-2.4.2/src/libutil/cmd_serialize.cpp:236:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BufferDeserialize::read( quadlet_t* value )
data/libffado-2.4.2/src/libutil/cmd_serialize.cpp:248:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BufferDeserialize::read( char** value, size_t length )
data/libffado-2.4.2/src/libutil/cmd_serialize.h:54:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( byte_t* value ) = 0;
data/libffado-2.4.2/src/libutil/cmd_serialize.h:55:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( uint16_t* value ) = 0;
data/libffado-2.4.2/src/libutil/cmd_serialize.h:56:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( quadlet_t* value ) = 0;
data/libffado-2.4.2/src/libutil/cmd_serialize.h:58:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( char** value, size_t length ) = 0;
data/libffado-2.4.2/src/libutil/cmd_serialize.h:144:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( byte_t* value );
data/libffado-2.4.2/src/libutil/cmd_serialize.h:145:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( uint16_t* value );
data/libffado-2.4.2/src/libutil/cmd_serialize.h:146:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( quadlet_t* value );
data/libffado-2.4.2/src/libutil/cmd_serialize.h:148:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( char** value, size_t length );
data/libffado-2.4.2/src/libutil/serialize_expat.cpp:254:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read( "CacheVersion", savedVersion )) {
data/libffado-2.4.2/src/libutil/serialize_expat.cpp:268:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Util::XMLDeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.cpp:305:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Util::XMLDeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:55:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:57:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:60:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        template <typename T> bool read( std::string strMemberName, T& value );
data/libffado-2.4.2/src/libutil/serialize_expat.h:94:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:96:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:119:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template <typename T> bool IODeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_expat.h:123:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool result = read( strMemberName, tmp );
data/libffado-2.4.2/src/libutil/serialize_libxml.cpp:253:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read( "CacheVersion", savedVersion )) {
data/libffado-2.4.2/src/libutil/serialize_libxml.cpp:267:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Util::XMLDeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.cpp:318:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Util::XMLDeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:54:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:56:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:59:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        template <typename T> bool read( std::string strMemberName, T& value );
data/libffado-2.4.2/src/libutil/serialize_libxml.h:93:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:95:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual bool read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:118:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template <typename T> bool IODeserialize::read( std::string strMemberName,
data/libffado-2.4.2/src/libutil/serialize_libxml.h:122:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool result = read( strMemberName, tmp );
data/libffado-2.4.2/src/libutil/unittests.cpp:82:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( "SerializeMe/m_byte", m_byte );
data/libffado-2.4.2/src/libutil/unittests.cpp:83:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "SerializeMe/m_quadlet", m_quadlet );
data/libffado-2.4.2/src/libutil/unittests.cpp:168:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( "here/and/not/there/m_quadlet0", m_quadlet0 );
data/libffado-2.4.2/src/libutil/unittests.cpp:169:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "here/and/not/m_quadlet1", m_quadlet1 );
data/libffado-2.4.2/src/libutil/unittests.cpp:170:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "here/and/m_quadlet2", m_quadlet2 );
data/libffado-2.4.2/src/libutil/unittests.cpp:267:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( "m_char", m_char );
data/libffado-2.4.2/src/libutil/unittests.cpp:268:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "m_unsigned_char", m_unsigned_char );
data/libffado-2.4.2/src/libutil/unittests.cpp:269:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "m_short", m_short );
data/libffado-2.4.2/src/libutil/unittests.cpp:270:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "m_unsigned_short", m_unsigned_short );
data/libffado-2.4.2/src/libutil/unittests.cpp:271:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "m_int", m_int );
data/libffado-2.4.2/src/libutil/unittests.cpp:272:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result &= deser.read( "m_unsigned_int", m_unsigned_int );
data/libffado-2.4.2/src/libutil/unittests.cpp:378:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result  = deser.read( "m_pString", str );
data/libffado-2.4.2/src/motu/motu_avdevice.cpp:772: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/libffado-2.4.2/src/motu/motu_avdevice.cpp:1988:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, 1, &quadlet) <= 0) {
data/libffado-2.4.2/src/motu/motu_avdevice.cpp:2004:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, n_quads, buf) <= 0) {
data/libffado-2.4.2/src/rme/fireface_flash.cpp:46: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(init_delay_ms*1000);
data/libffado-2.4.2/src/rme/fireface_flash.cpp:177: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(20000);
data/libffado-2.4.2/src/rme/rme_avdevice.cpp:780: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(5000);
data/libffado-2.4.2/src/rme/rme_avdevice.cpp:1157:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, 1, &quadlet) <= 0) {
data/libffado-2.4.2/src/rme/rme_avdevice.cpp:1168:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (get1394Service().read(0xffc0 | getNodeId(), reg, n_quads, buf) <= 0) {
data/libffado-2.4.2/src/rme/rme_shm.cpp:66: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(10000);
data/libffado-2.4.2/support/alsa/alsa_plugin.cpp:360:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(pfds[0].fd, buf, 1);
data/libffado-2.4.2/tests/scan-devreg.cpp:296:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (m_1394Service->read(0xffc0 | node_id, SCAN_BASE_ADDR+reg, 1, &quadlet) <= 0) {
data/libffado-2.4.2/tests/test-avccmd.cpp:264:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while((tmpresult=de.read(&args[nargs]))) {
data/libffado-2.4.2/tests/test-ipcringbuffer.cpp:197: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(time_to_sleep);
data/libffado-2.4.2/tests/test-messagequeue.cpp:238: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(TIME_TO_SLEEP);
data/libffado-2.4.2/tests/test-shm.cpp:176: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(time_to_sleep);
data/libffado-2.4.2/tests/test-shm.cpp:185: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(time_to_sleep * 110/100);

ANALYSIS SUMMARY:

Hits = 694
Lines analyzed = 116794 in approximately 3.06 seconds (38137 lines/second)
Physical Source Lines of Code (SLOC) = 79991
Hits@level = [0] 626 [1] 496 [2] 184 [3]   6 [4]   8 [5]   0
Hits@level+ = [0+] 1320 [1+] 694 [2+] 198 [3+]  14 [4+]   8 [5+]   0
Hits/KSLOC@level+ = [0+] 16.5019 [1+] 8.67598 [2+] 2.47528 [3+] 0.17502 [4+] 0.100011 [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.