1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-11 09:26:31 -05:00
sdrangel/plugins/samplesource/filesource
Jason Gerecke bc4d7adce7 FileSourceGui: Prevent potential integer overflow in updateWithStreamTime
UBSan reports the following error when replaying an IQ stream:

    ./plugins/samplesource/filesource/filesourcegui.cpp:331:29: runtime
    error: signed integer overflow: 2704064 * 1000 cannot be represented
    in type 'int'

By rearranging the calculation, we can be sure that the calculation never
overflows.
2018-04-21 18:53:21 -07:00
..
CMakeLists.txt FileSource: make Settings an independant struct 2017-12-24 11:04:30 +01:00
filesource.pro Windows build: new location for export header 2018-03-10 20:32:46 +01:00
filesourcegui.cpp FileSourceGui: Prevent potential integer overflow in updateWithStreamTime 2018-04-21 18:53:21 -07:00
filesourcegui.h File Input and record: 16/24 bit DSP compatibility: bug fixes 2018-01-25 23:52:36 +01:00
filesourcegui.ui File Input and record: 16/24 bit DSP compatibility: bug fixes 2018-01-25 23:52:36 +01:00
filesourceinput.cpp Multiple audio support: transfer start/stop audio to audio FIFO management in AudioDeviceManager 2018-03-24 04:18:58 +01:00
filesourceinput.h File source: corrected memory leak 2018-02-14 22:33:24 +01:00
filesourceplugin.cpp File Input and record: 16/24 bit DSP compatibility 2018-01-25 18:39:54 +01:00
filesourceplugin.h Removed direct reference to the DeviceSourceAPI in the source GUIs 2017-10-30 00:45:23 +01:00
filesourcesettings.cpp FileSource: put center frequency and sample rate in the settings structure 2017-12-24 11:36:38 +01:00
filesourcesettings.h FileSource: put center frequency and sample rate in the settings structure 2017-12-24 11:36:38 +01:00
filesourcethread.cpp File Input and record: 16/24 bit DSP compatibility 2018-01-25 18:39:54 +01:00
filesourcethread.h PVS-Studio static analysis corrections (1) issue #137 2018-02-21 18:54:59 +01:00