esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
15.98k stars 13.34k forks source link

LwIpIntfDev.end() - check _started to prevent crash #9173

Closed JAndrassy closed 1 month ago

JAndrassy commented 1 month ago

LwIpIntfDev.end() crashed if begin() was not executed or failed

earlephilhower commented 1 month ago

@JAndrassy do you want to do the RP2040 version of this patch, or would you rather I dup this myself?

JAndrassy commented 1 month ago

@JAndrassy do you want to do the RP2040 version of this patch, or would you rather I dup this myself?

If you can do it. I came across this problem as I develop something so I don't want to switch to RP2040 now.