pubsubclient icon indicating copy to clipboard operation
pubsubclient copied to clipboard

fix: use of wrong strnlen variant on PROGMEM payload strings

Open muggenhor opened this issue 2 years ago • 1 comments

strnlen_P is needed to avoid the wrong method of reading to cause bad things to happen (CPU exceptions on ESP8266).

Fixes: #747

muggenhor avatar Jul 29 '23 12:07 muggenhor

This is fixed in https://github.com/hmueller01/pubsubclient3 Maybe you give it a try.

hmueller01 avatar Feb 27 '25 09:02 hmueller01