mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
141997475c
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. |
||
---|---|---|
.. | ||
bfmdemod.cpp | ||
bfmdemod.h | ||
bfmdemodgui.cpp | ||
bfmdemodgui.h | ||
bfmdemodgui.ui | ||
bfmdemodsettings.cpp | ||
bfmdemodsettings.h | ||
bfmplugin.cpp | ||
bfmplugin.h | ||
CMakeLists.txt | ||
demodbfm.pro | ||
rdsdecoder.cpp | ||
rdsdecoder.h | ||
rdsdemod.cpp | ||
rdsdemod.h | ||
rdsparser.cpp | ||
rdsparser.h | ||
rdstmc.cpp | ||
rdstmc.h |