ESP32MQTTClient icon indicating copy to clipboard operation
ESP32MQTTClient copied to clipboard

initialize lastwill strings to nullptr

Open dankamongmen opened this issue 5 months ago • 0 comments

without initializing these, we assign garbage to the internal mqtt_client struct's lastwill struct unless EnableLastWillMessage() is called. this usually manifests as an IllegalInstruction or ProhibitedLoad exception.

probably we ought be initializing more than just this, but this is absolutely necessary.

dankamongmen avatar Sep 02 '24 01:09 dankamongmen