shamblett / mqtt5_client

A server and browser based MQTT 5 client for dart
Other
51 stars 29 forks source link

Deap loop in mqtt_property_container.dart, functionvoid readFrom(MqttByteBuffer stream); #45

Closed Jayleee closed 1 year ago

Jayleee commented 1 year ago

mqtt5_client-3.3.3/lib/src/messages/properties/mqtt_property_container.dart the function readFrom() contains a while-loop, when stream data went wrong, this loop will be a dead loop because of the (length != 0).

image

here come for help, please If (length != 0) changes to (length > 0) could be better ?

shamblett commented 1 year ago

Yes Ok, updated, will be in the next release

shamblett commented 1 year ago

Incorporated into version 3.3.6 now released.