You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess one way to avoid that is to guard against an empty clientName in mqttClient::connect. I'll have a better look and submit a pr if that is the only place this fails.
The text was updated successfully, but these errors were encountered:
mqttClient::connect
uses copyString to copy the clientName into the protocol header. copyString trieswhich, for a zero byte string will return, if I understand correctly,
nullptr
(and also trigers an M:0 from the ESP)
will be true and the connect will fail.
I guess one way to avoid that is to guard against an empty clientName in
mqttClient::connect
. I'll have a better look and submit a pr if that is the only place this fails.The text was updated successfully, but these errors were encountered: