furrtek / portapack-havoc

Custom firmware for the HackRF SDR + PortaPack H1 addon
GNU General Public License v2.0
805 stars 221 forks source link

File manager and Frequency manager crashes with many files on SD Card #360

Open alain00091 opened 4 years ago

alain00091 commented 4 years ago

if you have ( maybe it is crazy but ...) if you have more than 256 files in /FREQMAN both crashes

if you have more than 128 files, only Frequency manager crashes I think it is a memory allocation issue

furrtek commented 4 years ago

Confirmed bug. Buffer overflow.

alain00091 commented 4 years ago

Each time we use command similar to "database.push_back" there is a risk to crash the hackrf we need to use a better implementaton of vector..