shoenig / go-mqtt

A development fork of the Eclipse Paho Go MQTT client
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.golang.git/
Eclipse Public License 1.0
13 stars 6 forks source link

decode does not take into account variable length header when decoding payload #1

Closed shoenig closed 10 years ago

shoenig commented 10 years ago

If the variable length header is more than 1 byte, the remaining bytes are interpreted as message ID/ payload

shoenig commented 10 years ago

fixed in 14658d2