-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Component: libmosquittoStatus: CompletedNothing further to be done with this issue, it can be closed by the requestor or committer.Nothing further to be done with this issue, it can be closed by the requestor or committer.
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: libmosquittoStatus: CompletedNothing further to be done with this issue, it can be closed by the requestor or committer.Nothing further to be done with this issue, it can be closed by the requestor or committer.