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/limesuite-20.01.0+dfsg/LimeUtil/LimeUtil.cpp Examining data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtilCalSweep.cpp Examining data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtilTiming.cpp Examining data/limesuite-20.01.0+dfsg/QuickTest/LimeNET_Micro_Test.cpp Examining data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.cpp Examining data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.h Examining data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest_Mini.cpp Examining data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest_USB.cpp Examining data/limesuite-20.01.0+dfsg/QuickTest/TestGUI.cpp Examining data/limesuite-20.01.0+dfsg/SoapyLMS7/Registration.cpp Examining data/limesuite-20.01.0+dfsg/SoapyLMS7/Settings.cpp Examining data/limesuite-20.01.0+dfsg/SoapyLMS7/SoapyLMS7.h Examining data/limesuite-20.01.0+dfsg/SoapyLMS7/Streaming.cpp Examining data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h Examining data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/example/example.cpp Examining data/limesuite-20.01.0+dfsg/external/kissFFT/_kiss_fft_guts.h Examining data/limesuite-20.01.0+dfsg/external/kissFFT/kiss_fft.c Examining data/limesuite-20.01.0+dfsg/external/kissFFT/kiss_fft.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/LMS7002M_parameters_compact.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_agc.c Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_calibrations.c Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_calibrations.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_controls.c Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_controls.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_filters.c Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/lms7002m_filters.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/mcu_defines.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/spi.h Examining data/limesuite-20.01.0+dfsg/mcu_program/common_src/typedefs.h Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/main.cpp Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcu.c Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcu.h Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.h Examining data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp Examining data/limesuite-20.01.0+dfsg/mcu_program/mcu_src/LMS7002_REGx51.h Examining data/limesuite-20.01.0+dfsg/mcu_program/mcu_src/main.c Examining data/limesuite-20.01.0+dfsg/mcu_program/mcu_src/spi.c Examining data/limesuite-20.01.0+dfsg/octave/LimeSuite.cc Examining data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp Examining data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.h Examining data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/API/LimeNET_micro.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LimeNET_micro.h Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR.h Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_Core.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_Core.h Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_PCIE.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_PCIE.h Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_mini.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LimeSDR_mini.h Examining data/limesuite-20.01.0+dfsg/src/API/LmsGeneric.cpp Examining data/limesuite-20.01.0+dfsg/src/API/LmsGeneric.h Examining data/limesuite-20.01.0+dfsg/src/API/device_constants.h Examining data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp Examining data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp Examining data/limesuite-20.01.0+dfsg/src/API/lms7_device.h Examining data/limesuite-20.01.0+dfsg/src/API/qLimeSDR.cpp Examining data/limesuite-20.01.0+dfsg/src/API/qLimeSDR.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601Entry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3Entry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/BuiltinConnections.in.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/ConnectionHandle.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/ConnectionHandle.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/ConnectionRegistry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/ConnectionRegistry.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/IConnection.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRegistry/IConnection.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionRemote/ConnectionRemote.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRemote/ConnectionRemote.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionRemote/ConnectionRemoteEntry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionRemote/LMS64CProtocol_remote.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionSPI/lime_spi.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITE.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITE.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp Examining data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.h Examining data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybusEntry.cpp Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_Mini.cpp Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_Mini.h Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_Q.cpp Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_Q.h Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_common.cpp Examining data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_common.h Examining data/limesuite-20.01.0+dfsg/src/FPGAcontrols_wxgui/FPGAcontrols_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/FPGAcontrols_wxgui/FPGAcontrols_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/FPGAcontrols_wxgui/WFM_wcdma.h Examining data/limesuite-20.01.0+dfsg/src/GFIR/corrections.c Examining data/limesuite-20.01.0+dfsg/src/GFIR/dfilter.h Examining data/limesuite-20.01.0+dfsg/src/GFIR/gfir_lms.c Examining data/limesuite-20.01.0+dfsg/src/GFIR/lms.c Examining data/limesuite-20.01.0+dfsg/src/GFIR/lms.h Examining data/limesuite-20.01.0+dfsg/src/GFIR/lms_gfir.h Examining data/limesuite-20.01.0+dfsg/src/GFIR/recipes.c Examining data/limesuite-20.01.0+dfsg/src/GFIR/recipes.h Examining data/limesuite-20.01.0+dfsg/src/GFIR/rounding.c Examining data/limesuite-20.01.0+dfsg/src/GFIR/rounding.h Examining data/limesuite-20.01.0+dfsg/src/LMS_Programing/LMS_Programing_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/LMS_Programing/LMS_Programing_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/LimeSuiteConfig.h Examining data/limesuite-20.01.0+dfsg/src/Logger.cpp Examining data/limesuite-20.01.0+dfsg/src/Logger.h Examining data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C.cpp Examining data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C.h Examining data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/SystemResources.h Examining data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp Examining data/limesuite-20.01.0+dfsg/src/VersionInfo.h Examining data/limesuite-20.01.0+dfsg/src/VersionInfo.in.cpp Examining data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/RFSpark_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/RFSpark_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBoardControls.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBoardControls.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBuffers.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBuffers.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlCoreSDR.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlCoreSDR.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlGPIO.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlGPIO.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlLimeNetMicro.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlLimeNetMicro.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlLimeSDR.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlLimeSDR.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlQSpark.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlQSpark.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlUltimateEVB.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlUltimateEVB.h Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnluLimeSDR.cpp Examining data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnluLimeSDR.h Examining data/limesuite-20.01.0+dfsg/src/dlgAbout.cpp Examining data/limesuite-20.01.0+dfsg/src/dlgAbout.h Examining data/limesuite-20.01.0+dfsg/src/examples/basicRX.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/basicTX.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/dualRXTX.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/gpio_example.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/limeRFE_ADC_example.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/limeRFE_I2C_example.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/limeRFE_USB_example.cpp Examining data/limesuite-20.01.0+dfsg/src/examples/singleRX.cpp Examining data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_frFFTviewer.cpp Examining data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_frFFTviewer.h Examining data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/gnuPlotPipe.h Examining data/limesuite-20.01.0+dfsg/src/lime/LMS7002M_parameters.h Examining data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/RFE_Device.cpp Examining data/limesuite-20.01.0+dfsg/src/limeRFE/RFE_Device.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c Examining data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_api.cpp Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_constants.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_gui.cpp Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_gui.h Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/dlgViewIRAM.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/dlgViewIRAM.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/dlgViewSFR.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/dlgViewSFR.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgGFIR_Coefficients.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgGFIR_Coefficients.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_gui_utilities.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_gui_utilities.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_mainPanel.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_mainPanel.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlAFE_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlAFE_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlBIAS_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlBIAS_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlBIST_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlBIST_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCDS_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCDS_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCLKGEN_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCLKGEN_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCalibrations_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlCalibrations_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlGains_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlGains_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlLDO_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlLDO_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlLimeLightPAD_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlLimeLightPAD_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlR3.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlR3.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRBB_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRBB_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRFE_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRFE_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRxTSP_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlRxTSP_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTBB_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTBB_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTRF_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTRF_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTxTSP_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlTxTSP_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlXBUF_view.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlXBUF_view.h Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.h Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_BaseCalibrations.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_RegistersMap.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_RegistersMap.h Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_RxTxCalibrations.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_filtersCalibration.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_gainCalibrations.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_parameters.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/mcu_dc_iq_calibration.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m/mcu_programs.h Examining data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.h Examining data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h Examining data/limesuite-20.01.0+dfsg/src/lms7suiteApp.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7suiteApp.h Examining data/limesuite-20.01.0+dfsg/src/lms7suiteAppFrame.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7suiteAppFrame.h Examining data/limesuite-20.01.0+dfsg/src/lms7suiteApp_gui.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7suiteApp_gui.h Examining data/limesuite-20.01.0+dfsg/src/lms7suiteEvents/lms7suiteEvents.cpp Examining data/limesuite-20.01.0+dfsg/src/lms7suiteEvents/lms7suiteEvents.h Examining data/limesuite-20.01.0+dfsg/src/numericSlider/numericSlider.cpp Examining data/limesuite-20.01.0+dfsg/src/numericSlider/numericSlider.h Examining data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp Examining data/limesuite-20.01.0+dfsg/src/oglGraph/GLGlyph.h Examining data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp Examining data/limesuite-20.01.0+dfsg/src/oglGraph/StaticFontHeader.h Examining data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp Examining data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.h Examining data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.h Examining data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.h Examining data/limesuite-20.01.0+dfsg/src/protocols/ADCUnits.h Examining data/limesuite-20.01.0+dfsg/src/protocols/ConnectionImages.cpp Examining data/limesuite-20.01.0+dfsg/src/protocols/LMS64CCommands.h Examining data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp Examining data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.h Examining data/limesuite-20.01.0+dfsg/src/protocols/LMSBoards.h Examining data/limesuite-20.01.0+dfsg/src/protocols/Streamer.cpp Examining data/limesuite-20.01.0+dfsg/src/protocols/Streamer.h Examining data/limesuite-20.01.0+dfsg/src/protocols/dataTypes.h Examining data/limesuite-20.01.0+dfsg/src/protocols/fifo.h Examining data/limesuite-20.01.0+dfsg/src/resources/splash.h Examining data/limesuite-20.01.0+dfsg/src/utilities/pll_sweep.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/SPI_wxgui.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/SPI_wxgui.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgConnectionSettings.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgConnectionSettings.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgDeviceInfo.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgDeviceInfo.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgFullMessageLog.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/dlgFullMessageLog.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/pnlAPI.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/pnlAPI.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/pnlMiniLog.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/pnlMiniLog.h Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/utilities_gui.cpp Examining data/limesuite-20.01.0+dfsg/src/utilities_gui/utilities_gui.h Examining data/limesuite-20.01.0+dfsg/src/windowFunction.cpp Examining data/limesuite-20.01.0+dfsg/src/windowFunction.h FINAL RESULTS: data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:50:30: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. #define fini_strncpy(a, b) wcscpy(a, b) data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:65:29: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). #define fini_strcpy(a, b) strcpy(a, b) data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp:133:9: [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( "ls /dev | grep ttyACM > /tmp/foundSerialPorts.txt") == -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:35:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ((access("/dev/spidev1.0", F_OK ) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:36:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. && (access("/dev/spidev1.1", F_OK ) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:37:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. && (access("/dev/spidev1.2", F_OK ) != -1)) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:39:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access("/dev/lime_spi", F_OK ) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:45:19: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. else if ((access("/dev/spidev0.0", F_OK ) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPIEntry.cpp:46:19: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. && (access("/dev/spidev0.1", F_OK ) != -1)) data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp:111:14: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. lsPipe = popen("ls /dev/* -d -1 | grep ttyACM", "r"); data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp:113:11: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. while(fscanf(lsPipe, "%s", tempBuffer) == 1) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybusEntry.cpp:43:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if(access(ConnectionXillybus::deviceConfigs[i].ctrlWrite.c_str(), F_OK ) != -1 ) data/limesuite-20.01.0+dfsg/src/Logger.cpp:56:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(_reportedErrorMessage, MAX_MSG_LEN, format, argList); data/limesuite-20.01.0+dfsg/src/Logger.cpp:75:15: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. int ret = vsnprintf(buff, sizeof(buff), format, argList); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:159:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(fullPath.c_str(), R_OK) == 0) return fullPath; data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:188:14: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::system(mkdirCmd.c_str()); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:192:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(destDir.c_str(), W_OK) != 0) lime::ReportError("Cannot write: %s", destDir.c_str()); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:200:23: [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. int result = std::system(dnloadCmd.c_str()); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:51:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(linkCommand, "sudo ln -s %s /dev/ttyACM_LMS7emulator", ptsname(masterFd)); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:52:2: [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. system(linkCommand); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:111:2: [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. system(linkCommand); data/limesuite-20.01.0+dfsg/src/gnuPlotPipe.h:15:26: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. pipeHandle = popen("gnuplot -persistent", "w"); data/limesuite-20.01.0+dfsg/src/gnuPlotPipe.h:17:26: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. pipeHandle = popen("gnuplot", "w"); data/limesuite-20.01.0+dfsg/src/gnuPlotPipe.h:46:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(temp, 512, format, argList); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:111:9: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(cline, "%s %s %i", vconame, ctemp, &freqCount); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:118:17: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(cline, "%lf %s", &freq, ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:133:17: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(cline, "%lf %s", &freq, ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:148:17: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(cline, "%lf %s", &freq, ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:163:17: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(cline, "%lf %s", &freq, ctemp); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M_RxTxCalibrations.cpp:80:9: [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, __VA_ARGS__);\ data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:132:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tempc, "GLEW ERROR %s", glewGetErrorString(err)); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:137:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(userOGLversion, (const char*)glGetString(GL_VERSION)); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:414:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(format, "%%.3f %%s"); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:416:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(format, "%%.%if %%s", settings.gridXprec); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:433:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(text, format, value, settings.xUnits.c_str()); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:447:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(format, "%%.%if %%s", settings.gridYprec); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:460:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(text, format, value, settings.yUnits.c_str()); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:762:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(text, fmt, ap); // And converts symbols to actual numbers data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1036:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(ctemp, format, num); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:608:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(progressMsg, "Programming failed! %s", status2string(status)); data/limesuite-20.01.0+dfsg/QuickTest/TestGUI.cpp:331:22: [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. while ((option = getopt_long(argc, argv, "", long_options, &option_index)) != -1) data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:37:38: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *limeSuiteRoot = std::getenv("LIME_SUITE_ROOT"); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:69:33: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *userHome = std::getenv("HOME"); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:87:35: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *appDataDir = std::getenv("APPDATA"); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:101:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *xdgDataHome = std::getenv("XDG_DATA_HOME"); data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:133:37: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *imagePathEnv = std::getenv("LIME_IMAGE_PATH"); data/limesuite-20.01.0+dfsg/src/utilities/pll_sweep.cpp:56:13: [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, "b:s:e:l:c::d:h", long_options, &option_index); data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtil.cpp:201: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(optarg, std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtil.cpp:246: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(optarg, std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.cpp:125: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[64]; data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.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 str[64]; data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.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 str[64]; data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.cpp:337: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_buffer[buffer_size] = {0}; data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.cpp:411:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[128]; data/limesuite-20.01.0+dfsg/QuickTest/LimeSDRTest.cpp:441: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 str[64]; data/limesuite-20.01.0+dfsg/SoapyLMS7/Settings.cpp: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 buff[64]; sprintf(buff, "0x%lx", devinfo->boardSerialNumber); data/limesuite-20.01.0+dfsg/SoapyLMS7/Settings.cpp:120:24: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. char buff[64]; sprintf(buff, "0x%lx", devinfo->boardSerialNumber); data/limesuite-20.01.0+dfsg/external/kissFFT/kiss_fft.c:378: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(fout,tmpbuf,sizeof(kiss_fft_cpx)*st->nfft); data/limesuite-20.01.0+dfsg/mcu_program/host_src/main.cpp:380: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). fout.open("mcu_bin.txt", ios::out); data/limesuite-20.01.0+dfsg/mcu_program/host_src/main.cpp:386: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 ctemp[40]; data/limesuite-20.01.0+dfsg/mcu_program/host_src/main.cpp:387:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "0x%02X,", mcuImage[i]); data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:22:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* m_file = fopen(filename, "r"); data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:31: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 szLine[cMaxLineLen]; data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:181: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 ssaStr[16]; data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:183:17: [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(ssaStr, "%08lX\n", ssa); data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:213: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 lsaStr[16]; data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:215:17: [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(lsaStr, "%08lX\n", lsa); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:194:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[64]; data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:196: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). fout.open("Batches.txt", ios::out | ios::app); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:204:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "0x%04X,", val); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:214:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "0x%04X,", val); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:224:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "0x%04X,", val); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:235:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "0x%04X,", val); data/limesuite-20.01.0+dfsg/mcu_program/host_src/spi.cpp:245:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "0x%04X,", val); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp:309:34: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void ADF4002::GetConfig(unsigned char data[12]) data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp:312: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[0], &m_registers[9], 3); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp:313: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[3], &m_registers[6], 3); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp:314:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&data[6], &m_registers[0], 3); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.cpp:315: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[9], &m_registers[3], 3); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.h:28: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. void GetConfig(unsigned char data[12]); data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002.h:66: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_registers[12]; data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002_wxgui.cpp:535: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[12]; data/limesuite-20.01.0+dfsg/src/ADF4002/ADF4002_wxgui.cpp:604: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[12]; data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:207: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 packet[64] = {0x8C, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 16, 0, 3};//packet: eeprom write 2 btes, addr 16 data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:224: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 packet[64] = {0x8D, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 16, 0, 3}; //packet: eeprom read 2 bytes, addr 16 data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:914: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 libraryVersion[32]; data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:915: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(libraryVersion, "%.31s", lime::GetLibraryVersion().c_str()); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1574:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[12]; data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.cpp:180:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hComm = open(comName, O_RDWR | O_NOCTTY | O_SYNC); data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.cpp:292: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 cRawData[COM_BUFFER_LENGTH]; data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp:88:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char portname[512]; data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp:131:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempBuffer[256]; data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp:137:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin.open("/tmp/foundSerialPorts.txt", ios::in); data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:71: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 wbuffer[20]={0}; data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:99: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 wbuffer[20]={0}; data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:181: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 data[255]; data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:304:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(wbuffer, buffer, length); data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:778: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(buffer.data(), data_src + startUFM, sizeUFM); data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601.cpp:779: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(buffer.data() + sizeUFM, data_src + startCFM0, sizeCFM0); data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601Entry.cpp:74: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 SerialNumber[16] = { 0 }; data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601Entry.cpp:75:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Description[32] = { 0 }; data/limesuite-20.01.0+dfsg/src/ConnectionFTDI/ConnectionFT601Entry.cpp:128: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 data[255]; data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3.cpp:221: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 data[255]; data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3.cpp:335: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(wbuffer, buffer, length); data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3Entry.cpp:135: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 data[255]; data/limesuite-20.01.0+dfsg/src/ConnectionFX3/ConnectionFX3Entry.cpp:139:22: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. r = std::sprintf(data, "%.4x:%.4x", int(vid), int(pid)); data/limesuite-20.01.0+dfsg/src/ConnectionRemote/LMS64CProtocol_remote.cpp:131: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 data[msgSize] = {0}; data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:86:26: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd_stream = open("/dev/spidev0.0", O_RDWR)) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:102:33: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd_stream_clocks = open("/dev/spidev0.1", O_RDWR)) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:118:26: [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). else if((fd_stream = open("/dev/lime_spi", O_RDWR)) < 0) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:121:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd_control_fpga = open("/dev/spidev1.0", O_RDWR)) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:137:27: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd_control_lms = open("/dev/spidev1.1", O_RDWR)) != -1) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:445:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if((fd_stream = open("/dev/lime_spi", O_RDWR)) < 0) data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:729:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char rx_buffer[4096]; data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:741: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(buffer.data(), data + startUFM, sizeUFM); data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:742: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(buffer.data() + sizeUFM, data + startCFM0, sizeCFM0); data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:850: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). file.open(path.c_str(), std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp:67:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char portname[512]; data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp:112:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempBuffer[512]; data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:219:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((hWrite = open(writeCtrlPort.c_str(), O_WRONLY | O_NOCTTY | O_NONBLOCK))!=-1) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:225:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((hRead = open(readCtrlPort.c_str(), O_RDONLY | O_NOCTTY | O_NONBLOCK))!=-1) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:461:37: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (( hReadStream[epIndex] = open(readStreamPort[epIndex].c_str(), O_RDONLY | O_NOCTTY | O_NONBLOCK))==-1) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:563:37: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((hWriteStream[epIndex] = open(writeStreamPort[epIndex].c_str(), O_WRONLY | O_NOCTTY | O_NONBLOCK))==-1) data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_common.cpp:548: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(samples[0],buffer,bufLen); data/limesuite-20.01.0+dfsg/src/FPGA_common/FPGA_common.cpp:582: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(buffer,samples[0],samplesCount*sizeof(complex16_t)); data/limesuite-20.01.0+dfsg/src/FPGAcontrols_wxgui/FPGAcontrols_wxgui.cpp:160: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 inputBuffer[4]; data/limesuite-20.01.0+dfsg/src/Logger.cpp:23: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. thread_local char _reportedErrorMessage[MAX_MSG_LEN]; data/limesuite-20.01.0+dfsg/src/Logger.cpp:27:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. thread_local static char buff[MAX_MSG_LEN]; data/limesuite-20.01.0+dfsg/src/Logger.cpp:74: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[4096]; data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C.cpp:356:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin.open(FName.c_str(), ios::in); data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C.cpp:359: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 line[len]; data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C.h:97:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char m_newConfiguration[255]; data/limesuite-20.01.0+dfsg/src/Si5351C/Si5351C_wxgui.h:135: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_newConfiguration[255]; data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:44:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAX_PATH]; data/limesuite-20.01.0+dfsg/src/SystemResources.in.cpp:92: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 csidlAppDataDir[MAX_PATH]; data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:49: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 linkCommand[256]; data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:69:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempbuf[128]; data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:82:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char timeBuf[80]; data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:110: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(linkCommand, "sudo rm /dev/ttyACM_LMS7emulator"); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:149: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(output, input, hs); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:158: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(output, input, bufSize); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:171: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(output, input, hs); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:188: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(output, input, bufSize); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:201:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(output, input, hs); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:220: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(output, input, hs); data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:224: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(output, input, hs); data/limesuite-20.01.0+dfsg/src/examples/limeRFE_I2C_example.cpp:42:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cinfo[4]; data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_frFFTviewer.cpp:467: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((captureBuffer[ch].data() + samplesCaptured[ch]), buffers[ch], samplesToCopy*sizeof(complex16_t)); data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_frFFTviewer.cpp:551: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). fout.open(pthis->captureFilename.c_str()); data/limesuite-20.01.0+dfsg/src/fftviewer_wxgui/fftviewer_frFFTviewer.cpp:569: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). fout.open(filename.c_str()); data/limesuite-20.01.0+dfsg/src/gnuPlotPipe.h:43: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 temp[512]; data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:78:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char lms_info_str_t[256]; data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:132:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char lms_name_t[16]; data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1263: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 deviceName[32]; ///<The display name of the device data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1264: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 expansionName[32]; ///<The display name of the expansion card data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1265: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 firmwareVersion[16]; ///<The firmware version as a string data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1266:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hardwareVersion[16]; ///<The hardware version as a string data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1267: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 protocolVersion[16]; ///<The protocol version as a string data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1269: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 gatewareVersion[16]; ///<Gateware version as a string data/limesuite-20.01.0+dfsg/src/lime/LimeSuite.h:1270: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 gatewareTargetBoard[32]; ///<Which board should use this gateware data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:366:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t wport[20]; data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.h:40:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define open openSerial data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:56: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(cserialport, O_RDWR | O_NOCTTY); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:204:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:252:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(filename, "w"); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:282:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:323:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[1]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:359:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:387:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:422:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE_MODE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:443:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:484:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:506:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:528:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:713:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[RFE_BUFFER_SIZE_MODE]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:81:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[200]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:82:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(msg, "Port opened;"); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:86:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cinfo[4]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:101: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 msg[200]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:102: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(msg, "Firmware version: %d", (int)info.fw_ver); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:104: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(msg, "Hardware version: %#x", (int)info.hw_ver); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:124:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:139:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR lpTargetPath[5000]; // buffer to store the path of the COMPORTS data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:143: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 portName[100]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:147:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(portName, "COM%d", i); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:169: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 portName[100]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:174:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(portName, "/dev/ttyUSB%d", i); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:176:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(portName, O_RDWR | O_NOCTTY); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:380: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 msg[200]; data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:389:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(msg, "Power correction = %f dBm", powerCellCalCorr); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:393:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(msg, "Power correction = %f dBm", powerCalCorr); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:403:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(msg, "Gamma correction = %f dB", rlCalCorr); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:46: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 c, c1, str[256]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:104:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( (fp = fopen(filename, "r")) == NULL) return(-4); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:137:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( (fp = fopen(filename, "r")) == NULL) return(-4); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:173: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). fout.open(filename, ios::out); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:175: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 fname[80]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:68: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). fout.open(dlg.GetPath().mb_str(), ios::out); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:94:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin.open(dlg.GetPath().ToStdString().c_str(), ios::in); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:96: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 cline[128]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:99: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 vconame[80]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp:100: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 ctemp[80]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:103:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin.open(inFileName, std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:236: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). inFile = fopen(m_sTxtFileName.mb_str(), "r"); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:519: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). inFile = fopen(m_sTxtFileName.mb_str(), "r"); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.h:91: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 byte_array[max_array_size]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.h:93: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_IRAM[256]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.h:94: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_SFR[256]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:80: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 ctemp[80]; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:86:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f pF", (i * 6 * 387.0) / 1000.0); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:93:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f pF", (i * 6 * 980.0) / 1000.0); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:100:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f pF", i * 8 * 5.88); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:107:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f uA", 0.243*i); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:114:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f uA", 2.312*i); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:121:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "1.6 V"); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:125:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.3f V", (0.000060*180000.0 / i)); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:146: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(ctemp, "%.4f V", 1.6628); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:147: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(ctemp, "%.4f V", 1.6626); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:148: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(ctemp, "%.4f V", 1.6623); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:149: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(ctemp, "%.4f V", 1.6621); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:150: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(ctemp, "%.4f V", 1.6618); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:151: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(ctemp, "%.4f V", 1.6616); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:152: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(ctemp, "%.4f V", 1.6614); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:153: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(ctemp, "%.4f V", 1.6611); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:154: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(ctemp, "%.4f V", 1.6608); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:155: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(ctemp, "%.4f V", 1.6606); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:156: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(ctemp, "%.4f V", 1.6603); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:157: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(ctemp, "%.4f V", 1.6601); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:158: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(ctemp, "%.4f V", 1.6598); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:159: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(ctemp, "%.4f V", 1.6596); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:160: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(ctemp, "%.4f V", 1.6593); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:161: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(ctemp, "%.4f V", 1.659); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:162: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(ctemp, "%.4f V", 1.6608); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.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(ctemp, "%.4f V", 1.6606); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:164: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(ctemp, "%.4f V", 1.6603); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:165: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(ctemp, "%.4f V", 1.6601); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:166: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(ctemp, "%.4f V", 1.6598); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:167: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(ctemp, "%.4f V", 1.6596); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:168: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(ctemp, "%.4f V", 1.6593); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:169: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(ctemp, "%.4f V", 1.659); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:170: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(ctemp, "%.4f V", 1.6587); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:171: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(ctemp, "%.4f V", 1.6585); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:172: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(ctemp, "%.4f V", 1.6582); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:173: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(ctemp, "%.4f V", 1.6579); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:174: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(ctemp, "%.4f V", 1.6576); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:175: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(ctemp, "%.4f V", 1.6574); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:176: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(ctemp, "%.4f V", 1.6571); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:177: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(ctemp, "%.4f V", 1.6568); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:178: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(ctemp, "%.4f V", 1.6587); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:179: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(ctemp, "%.4f V", 1.6585); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:180: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(ctemp, "%.4f V", 1.6582); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:181: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(ctemp, "%.4f V", 1.6579); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:182: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(ctemp, "%.4f V", 1.6576); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:183: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(ctemp, "%.4f V", 1.6574); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:184: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(ctemp, "%.4f V", 1.6571); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:185: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(ctemp, "%.4f V", 1.6568); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:186: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(ctemp, "%.4f V", 1.6565); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:187: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(ctemp, "%.4f V", 1.6562); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:188: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(ctemp, "%.4f V", 1.6559); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:189: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(ctemp, "%.4f V", 1.6556); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:190: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(ctemp, "%.4f V", 1.6553); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:191: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(ctemp, "%.4f V", 1.655); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:192: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(ctemp, "%.4f V", 1.6547); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:193: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(ctemp, "%.4f V", 1.6544); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:194: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(ctemp, "%.4f V", 1.6565); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:195: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(ctemp, "%.4f V", 1.6562); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:196: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(ctemp, "%.4f V", 1.6559); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:197: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(ctemp, "%.4f V", 1.6556); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:198: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(ctemp, "%.4f V", 1.6553); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:199: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(ctemp, "%.4f V", 1.655); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:200: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(ctemp, "%.4f V", 1.6547); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:201: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(ctemp, "%.4f V", 1.6544); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:202: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(ctemp, "%.4f V", 1.6541); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:203: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(ctemp, "%.4f V", 1.6537); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:204: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(ctemp, "%.4f V", 1.6534); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:205: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(ctemp, "%.4f V", 1.6531); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:206: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(ctemp, "%.4f V", 1.6528); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:207:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.4f V", 1.6524); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:208: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(ctemp, "%.4f V", 1.6521); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:209: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(ctemp, "%.4f V", 1.6518); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:210: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(ctemp, "%.4f V", 1.6421); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:211: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(ctemp, "%.4f V", 1.6417); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:212: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(ctemp, "%.4f V", 1.6412); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:213: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(ctemp, "%.4f V", 1.6408); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:214: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(ctemp, "%.4f V", 1.6403); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:215: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(ctemp, "%.4f V", 1.6399); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:216: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(ctemp, "%.4f V", 1.6394); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:217: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(ctemp, "%.4f V", 1.6389); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:218: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(ctemp, "%.4f V", 1.6384); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:219: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(ctemp, "%.4f V", 1.638); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:220: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(ctemp, "%.4f V", 1.6375); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:221: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(ctemp, "%.4f V", 1.637); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:222: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(ctemp, "%.4f V", 1.6365); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:223: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(ctemp, "%.4f V", 1.636); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:224: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(ctemp, "%.4f V", 1.6354); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:225: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(ctemp, "%.4f V", 1.6349); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:226: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(ctemp, "%.4f V", 1.6384); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:227: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(ctemp, "%.4f V", 1.638); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:228: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(ctemp, "%.4f V", 1.6375); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:229: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(ctemp, "%.4f V", 1.637); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:230: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(ctemp, "%.4f V", 1.6365); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:231: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(ctemp, "%.4f V", 1.636); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:232: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(ctemp, "%.4f V", 1.6354); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:233: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(ctemp, "%.4f V", 1.6349); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:234: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(ctemp, "%.4f V", 1.6344); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:235: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(ctemp, "%.4f V", 1.6339); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:236: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(ctemp, "%.4f V", 1.6333); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:237: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(ctemp, "%.4f V", 1.6328); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:238: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(ctemp, "%.4f V", 1.6322); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:239: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(ctemp, "%.4f V", 1.6316); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:240: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(ctemp, "%.4f V", 1.6311); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:241: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(ctemp, "%.4f V", 1.6305); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:242: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(ctemp, "%.4f V", 1.6344); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:243: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(ctemp, "%.4f V", 1.6339); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:244: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(ctemp, "%.4f V", 1.6333); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:245: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(ctemp, "%.4f V", 1.6328); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:246: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(ctemp, "%.4f V", 1.6322); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:247:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.4f V", 1.6316); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:248: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(ctemp, "%.4f V", 1.6311); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:249:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.4f V", 1.6305); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:250: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(ctemp, "%.4f V", 1.6299); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:251: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(ctemp, "%.4f V", 1.6293); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:252: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(ctemp, "%.4f V", 1.6287); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:253: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(ctemp, "%.4f V", 1.6281); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:254: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(ctemp, "%.4f V", 1.6275); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:255: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(ctemp, "%.4f V", 1.6269); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:256:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "%.4f V", 1.6262); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:257: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(ctemp, "%.4f V", 1.6256); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:258: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(ctemp, "%.4f V", 1.6299); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:259: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(ctemp, "%.4f V", 1.6293); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:260: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(ctemp, "%.4f V", 1.6287); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:261: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(ctemp, "%.4f V", 1.6281); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:262: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(ctemp, "%.4f V", 1.6275); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:263: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(ctemp, "%.4f V", 1.6269); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:264: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(ctemp, "%.4f V", 1.6262); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:265: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(ctemp, "%.4f V", 1.6256); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:266: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(ctemp, "%.4f V", 1.6249); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:267: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(ctemp, "%.4f V", 1.6243); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:268: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(ctemp, "%.4f V", 1.6236); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:269: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(ctemp, "%.4f V", 1.6229); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:270: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(ctemp, "%.4f V", 1.6222); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:271: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(ctemp, "%.4f V", 1.6215); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:272: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(ctemp, "%.4f V", 1.6208); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:273: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(ctemp, "%.4f V", 1.6201); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:274: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(ctemp, "%.4f V", 1.5981); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:275: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(ctemp, "%.4f V", 1.597); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:276: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(ctemp, "%.4f V", 1.5959); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:277: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(ctemp, "%.4f V", 1.5947); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:278: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(ctemp, "%.4f V", 1.5936); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:279: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(ctemp, "%.4f V", 1.5924); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:280: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(ctemp, "%.4f V", 1.5912); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:281: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(ctemp, "%.4f V", 1.59); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:282: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(ctemp, "%.4f V", 1.5888); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:283: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(ctemp, "%.4f V", 1.5875); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:284: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(ctemp, "%.4f V", 1.5862); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:285: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(ctemp, "%.4f V", 1.5849); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:286: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(ctemp, "%.4f V", 1.5836); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:287: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(ctemp, "%.4f V", 1.5822); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:288: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(ctemp, "%.4f V", 1.5808); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:289: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(ctemp, "%.4f V", 1.5794); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:290: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(ctemp, "%.4f V", 1.5888); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:291: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(ctemp, "%.4f V", 1.5875); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:292: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(ctemp, "%.4f V", 1.5862); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:293: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(ctemp, "%.4f V", 1.5849); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:294: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(ctemp, "%.4f V", 1.5836); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:295: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(ctemp, "%.4f V", 1.5822); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:296: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(ctemp, "%.4f V", 1.5808); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:297: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(ctemp, "%.4f V", 1.5794); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:298: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(ctemp, "%.4f V", 1.5779); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:299: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(ctemp, "%.4f V", 1.5765); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:300: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(ctemp, "%.4f V", 1.575); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:301: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(ctemp, "%.4f V", 1.5734); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:302: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(ctemp, "%.4f V", 1.5718); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:303: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(ctemp, "%.4f V", 1.5702); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:304: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(ctemp, "%.4f V", 1.5686); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:305: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(ctemp, "%.4f V", 1.5669); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:306: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(ctemp, "%.4f V", 1.5779); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:307: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(ctemp, "%.4f V", 1.5765); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:308: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(ctemp, "%.4f V", 1.575); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:309: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(ctemp, "%.4f V", 1.5734); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:310: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(ctemp, "%.4f V", 1.5718); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:311: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(ctemp, "%.4f V", 1.5702); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:312: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(ctemp, "%.4f V", 1.5686); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:313: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(ctemp, "%.4f V", 1.5669); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:314: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(ctemp, "%.4f V", 1.5652); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:315: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(ctemp, "%.4f V", 1.5634); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:316: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(ctemp, "%.4f V", 1.5616); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:317: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(ctemp, "%.4f V", 1.5598); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:318: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(ctemp, "%.4f V", 1.5579); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:319: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(ctemp, "%.4f V", 1.556); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:320: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(ctemp, "%.4f V", 1.554); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:321: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(ctemp, "%.4f V", 1.552); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:322: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(ctemp, "%.4f V", 1.5652); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:323: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(ctemp, "%.4f V", 1.5634); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:324: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(ctemp, "%.4f V", 1.5616); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:325: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(ctemp, "%.4f V", 1.5598); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:326: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(ctemp, "%.4f V", 1.5579); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:327: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(ctemp, "%.4f V", 1.556); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:328: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(ctemp, "%.4f V", 1.554); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:329: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(ctemp, "%.4f V", 1.552); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:330: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(ctemp, "%.4f V", 1.5499); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:331: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(ctemp, "%.4f V", 1.5478); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:332: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(ctemp, "%.4f V", 1.5456); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:333: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(ctemp, "%.4f V", 1.5433); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:334: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(ctemp, "%.4f V", 1.5411); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:335: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(ctemp, "%.4f V", 1.5387); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:336: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(ctemp, "%.4f V", 1.5363); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:337: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(ctemp, "%.4f V", 1.5338); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:338: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(ctemp, "%.4f V", 1.4388); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:339: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(ctemp, "%.4f V", 1.433); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:340: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(ctemp, "%.4f V", 1.4268); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:341: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(ctemp, "%.4f V", 1.4205); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:342: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(ctemp, "%.4f V", 1.4138); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:343: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(ctemp, "%.4f V", 1.4069); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:344: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(ctemp, "%.4f V", 1.3996); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:345: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(ctemp, "%.4f V", 1.392); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:346: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(ctemp, "%.4f V", 1.384); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:347: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(ctemp, "%.4f V", 1.3756); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:348: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(ctemp, "%.4f V", 1.3667); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:349: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(ctemp, "%.4f V", 1.3574); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:350: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(ctemp, "%.4f V", 1.3476); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:351: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(ctemp, "%.4f V", 1.3373); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:352: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(ctemp, "%.4f V", 1.3264); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:353: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(ctemp, "%.4f V", 1.3148); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:354: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(ctemp, "%.4f V", 1.384); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:355: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(ctemp, "%.4f V", 1.3756); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:356: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(ctemp, "%.4f V", 1.3667); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:357: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(ctemp, "%.4f V", 1.3574); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:358: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(ctemp, "%.4f V", 1.3476); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:359: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(ctemp, "%.4f V", 1.3373); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:360: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(ctemp, "%.4f V", 1.3264); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:361: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(ctemp, "%.4f V", 1.3148); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:362: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(ctemp, "%.4f V", 1.3025); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:363: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(ctemp, "%.4f V", 1.2895); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:364: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(ctemp, "%.4f V", 1.2756); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:365: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(ctemp, "%.4f V", 1.2608); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:366: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(ctemp, "%.4f V", 1.245); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:367: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(ctemp, "%.4f V", 1.228); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:368: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(ctemp, "%.4f V", 1.2098); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:369: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(ctemp, "%.4f V", 1.1902); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:370: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(ctemp, "%.4f V", 1.3025); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:371: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(ctemp, "%.4f V", 1.2895); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:372: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(ctemp, "%.4f V", 1.2756); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:373: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(ctemp, "%.4f V", 1.2608); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:374: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(ctemp, "%.4f V", 1.245); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:375: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(ctemp, "%.4f V", 1.228); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:376: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(ctemp, "%.4f V", 1.2098); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:377: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(ctemp, "%.4f V", 1.1902); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:378: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(ctemp, "%.4f V", 1.169); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:379: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(ctemp, "%.4f V", 1.1461); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:380: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(ctemp, "%.4f V", 1.1211); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:381: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(ctemp, "%.4f V", 1.0939); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:382: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(ctemp, "%.4f V", 1.0641); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:383: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(ctemp, "%.4f V", 1.0313); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:384: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(ctemp, "%.4f V", 0.9951); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:385: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(ctemp, "%.4f V", 0.9549); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:386: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(ctemp, "%.4f V", 1.169); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:387: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(ctemp, "%.4f V", 1.1461); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:388: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(ctemp, "%.4f V", 1.1211); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:389: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(ctemp, "%.4f V", 1.0939); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:390: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(ctemp, "%.4f V", 1.0641); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:391: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(ctemp, "%.4f V", 1.0313); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:392: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(ctemp, "%.4f V", 0.9951); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:393: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(ctemp, "%.4f V", 0.9549); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:394: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(ctemp, "%.4f V", 0.9099); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:395: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(ctemp, "%.4f V", 0.8593); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:396: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(ctemp, "%.4f V", 0.802); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:397: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(ctemp, "%.4f V", 0.7365); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:398: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(ctemp, "%.4f V", 0.6609); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:399: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(ctemp, "%.4f V", 0.5727); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:400: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(ctemp, "%.4f V", 0.4685); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlSX_view.cpp:401: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(ctemp, "%.4f V", 0.3436); temp.push_back(ctemp); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:457: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 varname[64]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:463:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "FCW%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:471:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "PHO%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:478: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 varname[64]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:484:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "FCW%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:492:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "PHO%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:524: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 varname[64]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:530:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "FCW%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:538:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "PHO%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:545: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 varname[64]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:551:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "FCW%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:559:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(varname, "PHO%02i", i); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:700: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). fout.open(filename); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:705: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 addr[80]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:706: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 value[80]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:732:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(addr, "0x%04X", addrToRead[i]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:733:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(value, "0x%04X", dataReceived[i]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:749:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(addr, "0x%04X", addrToRead[i]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:750:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(value, "0x%04X", dataReceived[i]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2068: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 chex[16]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2136:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(chex, "0x%04X", startAddr); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2138:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(chex, "0x%04X", endAddr); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2160: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). fout.open(fileName, ios::out); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2216: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 ctemp[16]; data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2222:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "0x%04X", addrToWrite[j]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2224:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "0x%04X", dataToWrite[j]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2226:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "0x%04X", dataReceived[j]); data/limesuite-20.01.0+dfsg/src/lms7002m/LMS7002M.cpp:2232:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ctemp, "0x%04X", pattern); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.cpp:102:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin.open(inFileName, ios::in | ios::binary); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.cpp:802: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 ctemp[64]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.cpp:803:17: [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(ctemp, "Test %i failed", (retval & 0x0F)); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.h:99: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 m_IRAM[256]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.h:101: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 m_SFR[256]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.h:103:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char byte_array[cMaxFWSize]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:25:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_file = fopen(fileName, mode); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:90:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szLine[1024]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:272: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 ssaStr[16]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:274:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ssaStr, "%08lX\n", ssa); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:308: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 lsaStr[16]; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:310:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(lsaStr, "%08lX\n", lsa); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:355: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 header[256]; data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:48:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). in.open(file, ios::in | ios::binary); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp: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 header[13]; data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:60: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 reserved[16]; data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:141:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char header[13]; data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:152: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 reserved[16]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:128: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 tempc[256]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:136: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 userOGLversion[255]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:396:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[32]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:412: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 format[10]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:755:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[256]; // Holds our string data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1033: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 format[20]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1034: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(format, "%%.%if", prec); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1035: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 ctemp[20]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1241:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[256]; data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1249:31: [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. int cnt = sprintf(text, "M%i: % .3f MHz ", i, series[0]->values[markers[i].dataValueIndex]/1000000); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.cpp:1253:36: [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. cnt += sprintf(text+cnt, "/ Ch %c: %#+3.1f dBFS ", 65+j, series[j]->values[markers[i].dataValueIndex+1]); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.h:145: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(values, valuesXY, (length)*sizeof(float)); data/limesuite-20.01.0+dfsg/src/oglGraph/OpenGLGraph.h:179: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(newVal, values, sizeof(float)*size*2); data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:165: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 text[128]; data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:173:23: [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. cnt = sprintf(text, "%3.1f (ChA) ; ",valueA); data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:179:17: [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(text+cnt, "%3.1f (ChB) ;",valueB); data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:193: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 text[128]={0}; data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:199:23: [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. cnt = sprintf(text, "%.3f (ChA) ; ",deltaValue); data/limesuite-20.01.0+dfsg/src/oglGraph/dlgMarkers.cpp:205:17: [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(text+cnt, "%.3f (ChB)",deltaValue); data/limesuite-20.01.0+dfsg/src/protocols/ConnectionImages.cpp:152: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). file.open(path.c_str(), std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/src/protocols/ConnectionImages.cpp:176: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). file.open(path.c_str(), std::ios::in | std::ios::binary); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:479:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buffer[pktPos+4], packet.reserved, sizeof(packet.reserved)); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:504: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(&pkt.inBuffer[inBufPos], &buffer[i+8], packet.maxDataLength); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:517:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char progressMsg[128]; data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:518: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(progressMsg, "in progress..."); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:550:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(progressMsg, "Programming failed! Target device not supported"); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:556: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 ctrbuf[64]; data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:557: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 inbuf[64]; data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:586: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(&ctrbuf[offset + 24], data_src, data_cnt); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:623:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(progressMsg, "programming: aborted by user"); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.cpp:628: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(progressMsg, "programming: completed"); data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.h:89: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 reserved[4]; data/limesuite-20.01.0+dfsg/src/protocols/LMS64CProtocol.h:90: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 data[maxDataLength]; data/limesuite-20.01.0+dfsg/src/protocols/fifo.h:113: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(mBuffer[mTail].samples + mLast,&buffer[samplesTaken],cnt*sizeof(complex16_t)); data/limesuite-20.01.0+dfsg/src/protocols/fifo.h:161: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(&buffer[samplesFilled],&mBuffer[mHead].samples[mFirst],cnt*sizeof(complex16_t)); data/limesuite-20.01.0+dfsg/src/utilities_gui/pnlMiniLog.cpp:19:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtil.cpp:213:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(progData.data(), fileSize); data/limesuite-20.01.0+dfsg/LimeUtil/LimeUtil.cpp:258:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(progData.data(), fileSize); data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:49:26: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define fini_strlen(a) wcslen(a) data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:51:33: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). #define fini_strncpy(a, b, c) wcsncpy(a, b, c) data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:64:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define fini_strlen(a) strlen(a) data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:66:33: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). #define fini_strncpy(a, b, c) strncpy(a, b, c) data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/INI.h:368:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((fini_char_t*)&keyCount, sizeof(keyCount)); data/limesuite-20.01.0+dfsg/external/cpp-feather-ini-parser/example/example.cpp:118:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l = strlen(s); data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:48:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int lastCharPos = strlen(szLine)-1; data/limesuite-20.01.0+dfsg/mcu_program/host_src/mcuHexBin.cpp:53:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(szLine) == cMaxLineLen-1) data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:73:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(dev_list[i],str.c_str(),sizeof(lms_info_str_t)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:183:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(units,str.c_str(),sizeof(lms_name_t)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:354:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(list[i], names[i].c_str(), sizeof(lms_name_t) - 1); data/limesuite-20.01.0+dfsg/src/API/lms7_api.cpp:891:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(list[i], names[i].c_str(), sizeof(lms_name_t) - 1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1594:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.deviceName,info.deviceName.c_str(),sizeof(devInfo.deviceName)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1595:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.expansionName,info.expansionName.c_str(),sizeof(devInfo.expansionName)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1596:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.firmwareVersion,info.firmwareVersion.c_str(),sizeof(devInfo.firmwareVersion)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1597:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.hardwareVersion,info.hardwareVersion.c_str(),sizeof(devInfo.hardwareVersion)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1598:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.protocolVersion,info.protocolVersion.c_str(),sizeof(devInfo.protocolVersion)-1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1599:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.gatewareVersion, (info.gatewareVersion+"."+ info.gatewareRevision).c_str(), sizeof(devInfo.gatewareVersion) - 1); data/limesuite-20.01.0+dfsg/src/API/lms7_device.cpp:1600:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(devInfo.gatewareTargetBoard,info.gatewareTargetBoard.c_str(),sizeof(devInfo.gatewareTargetBoard)-1); data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.cpp:84:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(comName) == 0) return ReportError("empty comm name"); data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COM.cpp:310:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bytesReaded = read(hComm, cRawData, bytesToRead); data/limesuite-20.01.0+dfsg/src/ConnectionEVB7COM/ConnectionEVB7COMEntry.cpp:143:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(tempBuffer) > 3 ) //longer than tty data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:559:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int cnt = read(fd_stream, buffer, sizeof(FPGA_DataPacket)); data/limesuite-20.01.0+dfsg/src/ConnectionSPI/ConnectionSPI.cpp:858:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(progData.data(), fileSize); data/limesuite-20.01.0+dfsg/src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITE.cpp:16:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(comPortName && strlen(comPortName)) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:216: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(200); //avoids random bad packet(s) that was occurring when performing lots of consecutive transfers ~1000+ data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:221:8: [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/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:227:8: [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/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:398:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((bytesReceived = read(hRead, buffer+ totalBytesReaded, bytesToRead))<0) data/limesuite-20.01.0+dfsg/src/ConnectionXillybus/ConnectionXillybus.cpp:502:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((bytesReceived = read(hReadStream[epIndex], buffer+ totalBytesReaded, bytesToRead))<0) data/limesuite-20.01.0+dfsg/src/boardEmulator.cpp:71:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int bread = read(masterFd, tempbuf, bufSize); data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBoardControls.cpp:303:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(info->deviceName)) data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBoardControls.cpp:539:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(units,mParameters[i].units.c_str(),sizeof(lms_name_t)-1); data/limesuite-20.01.0+dfsg/src/boards_wxgui/pnlBoardControls.cpp:580:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(units,adcUnits2string(cmbCustomUnitsWr->GetSelection()),sizeof(units)-1); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:353:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(portname) < 4) return -1; data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:356:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(portname) > 4) { data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:357:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). port = (char*)calloc(1, sizeof(char) * strlen("\\\\.\\COM10") + 1); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:358:3: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. Risk is low because the source is a constant string. strncat(port, "\\\\.\\", strlen("\\\\.\\")); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:358:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncat(port, "\\\\.\\", strlen("\\\\.\\")); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:364:2: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(port, portname, strlen(portname)); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:364:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncat(port, portname, strlen(portname)); data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.c:367:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mbstowcs(wport, port, strlen(port) + 1);//Plus null data/limesuite-20.01.0+dfsg/src/limeRFE/external/termiWin/termiWin.h:37:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define read readFromSerial data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:12:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = read(com.fd, buffer, count); data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:314:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(sleepms * 1000); // usleep takes sleep time in us (1 millionth of a second) data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_cmd.cpp:553:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(sleepms * 1000); // usleep takes sleep time in us (1 millionth of a second) data/limesuite-20.01.0+dfsg/src/limeRFE/limeRFE_wxgui.cpp:570:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(LMS_GetDeviceInfo(lmsControl)->deviceName)) data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:20:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(unsigned i=0; i<strlen(blankchar); i++) data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:32:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(unsigned i=0; i<strlen(digit); i++) data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:50:22: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while( IsBlank( c = fgetc(fp) ) ); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:56:8: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c1 = fgetc(fp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:58:16: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while( (c = fgetc(fp)) != '\n' && c != EOF) ; data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:63:8: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fp); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:65:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while( (c1 = fgetc(fp)) != EOF ) { data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:80:20: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while( IsDigit(c=fgetc(fp)) ) { data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:103:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(filename) == 0) return(-3); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:136:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(filename) == 0) return(-3); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/CoefficientFileParser.cpp:186:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(fname, name_pos+1, 80); data/limesuite-20.01.0+dfsg/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:111:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read(&inByte, 1); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_BD.cpp:110:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read(&inByte, 1); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:59:13: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int tmp = fgetc(m_file); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:74:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tmp = fgetc(m_file); data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:108:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (szLine[strlen(szLine) - 1] == 0xA || szLine[strlen(szLine) - 1] == 0xD) data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:108:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (szLine[strlen(szLine) - 1] == 0xA || szLine[strlen(szLine) - 1] == 0xD) data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:110:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). szLine[strlen(szLine) - 1] = 0; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:113:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (szLine[strlen(szLine) - 1] == 0xA || szLine[strlen(szLine) - 1] == 0xD) data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:113:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (szLine[strlen(szLine) - 1] == 0xA || szLine[strlen(szLine) - 1] == 0xD) data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:115:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). szLine[strlen(szLine) - 1] = 0; data/limesuite-20.01.0+dfsg/src/lms7002m_mcu/MCU_File.h:118:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(szLine) == 1023) data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:51:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(header, 12); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:58:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(&fileVersion, 1); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:61:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(reserved, 16); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:64:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&fontSize, 1); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:68:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&glyphCount, 2); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:75:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.id, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:76:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.width, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:77:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.height, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:78:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.u, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:79:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.v, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:80:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.offset_x, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:81:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.offset_y, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:82:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.advance_x, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:91:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&texWidth, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:93:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&texHeight, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:95:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(&bpp, sizeof(char)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:98:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)bitmap, texWidth*texHeight); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:143:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(header, 12); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:150:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(&fileVersion, 1); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:153:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(reserved, 16); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:156:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&fontSize, 1); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:160:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&glyphCount, 2); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:167:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.id, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:168:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.width, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:169:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.height, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:170:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.u, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:171:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.v, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:172:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.offset_x, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:173:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.offset_y, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:174:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&tempGlyph.advance_x, sizeof(short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:183:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&texWidth, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:185:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&texHeight, sizeof(unsigned short)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:187:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(&bpp, sizeof(char)); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:190:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)bitmap, texWidth*texHeight); data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:408:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(unsigned int i=0; i<strlen(str); ++i) data/limesuite-20.01.0+dfsg/src/oglGraph/GLFont.cpp:420:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(str); data/limesuite-20.01.0+dfsg/src/protocols/ConnectionImages.cpp:161:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(progData.data(), fileSize); data/limesuite-20.01.0+dfsg/src/protocols/ConnectionImages.cpp:185:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(progData.data(), fileSize); ANALYSIS SUMMARY: Hits = 663 Lines analyzed = 182850 in approximately 12.94 seconds (14127 lines/second) Physical Source Lines of Code (SLOC) = 165592 Hits@level = [0] 216 [1] 109 [2] 507 [3] 7 [4] 40 [5] 0 Hits@level+ = [0+] 879 [1+] 663 [2+] 554 [3+] 47 [4+] 40 [5+] 0 Hits/KSLOC@level+ = [0+] 5.30823 [1+] 4.00382 [2+] 3.34557 [3+] 0.28383 [4+] 0.241558 [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.