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
In mosquitto_reinitialise the socketpairR/W should be initialized as invalid as mosq->sock is, since, otherwise, if the function returns because the client id is missing or invalid, socketpairs still are valid handles (namely 0) and a further call to moquitto_destroy could try to close them causing unexpected behaviors in the hosting application.
The text was updated successfully, but these errors were encountered:
In mosquitto_reinitialise the socketpairR/W should be initialized as invalid as mosq->sock is, since, otherwise, if the function returns because the client id is missing or invalid, socketpairs still are valid handles (namely 0) and a further call to moquitto_destroy could try to close them causing unexpected behaviors in the hosting application.
The text was updated successfully, but these errors were encountered: