eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

If a client reconnect its clientid is not cleaned correctly #7

Closed ralight closed 8 years ago

ralight commented 8 years ago

migrated from Bugzilla #430733 status RESOLVED severity normal in component RSMB for --- Reported in version unspecified on platform PC Assigned to: Ian Craggs

Original attachment names and IDs:

On 2014-03-19 17:08:31 -0400, Daniel Nascimento wrote:

Created attachment 241025 RSMB Dump

Steps to reproduce: 1- Connect a MQTT-SN client in RSMB 2- Subscribe it in a certain topic 3- Disconnect it from RSMB 4- Reconnect this client with the same ClientID 5- Close RSMB

Doing this the RSMB will fail to clean the Heap memory allocated to store the ClientID in subscribe engine.

On 2014-03-19 17:10:45 -0400, Daniel Nascimento wrote:

Created attachment 241026 Patch to fix this bug

On 2014-07-04 10:56:44 -0400, Ian Craggs wrote:

Thanks for the patch. Added to the master branch.