Browse Source
Initialize MorseDemod state and message queue members so a newly constructed demodulator has defined values before identification and bit timing processing begins. This prevents undefined behavior from accessing uninitialized member variables. Found by cppcheck (uninitMemberVar). Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 9 additions and 1 deletions
Loading…
Reference in new issue