EtchedPixels / FUZIX

FuzixOS: Because Small Is Beautiful
Other
2.15k stars 271 forks source link

Fix dc #949

Closed palainp closed 1 year ago

palainp commented 1 year ago

hptr->beg is freed just before being reallocated which can lead to a segfault (double free later). I have only tested this with esp8266 and it currently fixes https://github.com/EtchedPixels/FUZIX/issues/928 (maybe also https://github.com/EtchedPixels/FUZIX/issues/856 but I can't test due to lack of hardware).

EtchedPixels commented 1 year ago

Thanks a lot.