sdrangel icon indicating copy to clipboard operation
sdrangel copied to clipboard

Fix heap-use-after-free

Open dforsi opened this issue 1 month ago • 0 comments

This PR fixes issue #2059 but breaks the device pulldown because when changing the current device it doesn't add the new one.

AddressSanitizer: heap-use-after-free /home/sdrangel/sdrbase/audio/audiofifo.cpp:80 in AudioFifo::write(unsigned char const*, unsigned int) AddressSanitizer: heap-use-after-free /home/sdrangel/sdrbase/audio/audiofifo.h:49 in AudioFifo::fill() const

I tested the audio input with my radio and a websdr and the audio output only with the loudspeakers.

dforsi avatar Jun 01 '24 10:06 dforsi