forkineye / ESPAsyncE131

Asynchronous E1.31 (sACN) library for Arduino ESP8266 and ESP32
128 stars 28 forks source link

Failure to allocate ring buffer not checked #15

Open Munger opened 3 years ago

Munger commented 3 years ago

If this fails ->

                          pbuff = RingBuf_new(sizeof(e131_packet_t), buffers);

the problem is not caught. This causes a panic in isEmpty()