Files
ESPEasy/lib
TD-er d6b083cd09 [PubSubClient3] Add check for nullptr in CHECK_STRING_LENGTH
strnlen will cause a crash when called with a nullptr. Where this macro is called, there are already some checks for optional fields, however it is a bit 'not so nice' for the device to crash when accidentally a nullptr is given for for example the id or will message. (will topic is checked, will message is not)

See: https://github.com/hmueller01/pubsubclient3/pull/48
2025-07-03 11:28:06 +02:00
..

Attention

When adding libraries, replace any spaces in the folder name by an underscore _ to enable correct use by Arduino IDE.