1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-07 05:36:35 -04:00
sdrangel/plugins/channelrx
Jason Gerecke 141997475c BFM demod: RDS demod: Initialize RDSDemod array elements
The m_parms.tot_errs array is not initialized prior to its first use
in the RDSDemod::biphase function. ASAN does not pick up on this
directly, but instead reports it as follows (note that ASAN fills
memory with 0xBE and -1094795586 is 0xBEBEBEBE):

    ./plugins/channelrx/demodbfm/rdsdemod.cpp:159:95: runtime error: signed
    integer overflow: -1094795586 + -1094795586 cannot be represented in type
    'int'

The m_parms.subcarr_bb array does not appear to be read prior to
initialization, but we initialize it to zero anyway for the sake
of good hygiene.
2018-04-21 18:54:19 -07:00
..
chanalyzer Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
chanalyzerng Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
demodam Build ModWFM tx channel server plugin and apply corrections to other server plugins 2018-04-09 00:54:25 +02:00
demodatv Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
demodbfm BFM demod: RDS demod: Initialize RDSDemod array elements 2018-04-21 18:54:19 -07:00
demoddatv Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
demoddsd PVS-Studio static analysis corrections (4) 2018-04-04 23:39:31 +02:00
demodlora Windows build: new location for export header 2018-03-10 20:32:46 +01:00
demodnfm NFM demod: assymetrical fade in and fade out for the squelch 2018-04-17 09:15:02 +02:00
demodssb Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
demodwfm Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
tcpsrc Moved FFT filter destruction at end of the mod or demod destructor 2018-04-18 22:20:47 +02:00
udpsrc UDP source and sink: ensure proper click focus on line edits 2018-04-20 00:17:10 +02:00
CMakeLists.txt Debian build. Corrected ffmpeg dependency 2018-03-11 12:24:55 +01:00