pubsubclient
pubsubclient copied to clipboard
fix: use of wrong strnlen variant on PROGMEM payload strings
strnlen_P is needed to avoid the wrong method of reading to cause bad things to happen (CPU exceptions on ESP8266).
Fixes: #747
This is fixed in https://github.com/hmueller01/pubsubclient3 Maybe you give it a try.