Thanks for the report, I can confirm the bug. It's a trivial fix, but
I'm going to write a test for it before I make the commit.
** Changed in: mosquitto
Importance: Undecided => High
** Changed in: mosquitto
Status: New => In Progress
** Changed in: mosquitto
Milestone: None => 0.15.1
--
You received this bug notification because you are a member of Mosquitto
Development, which is subscribed to mosquitto.
https://bugs.launchpad.net/bugs/972389
Title:
Mosquitto crashes using bad version of protocol
Status in mosquitto: an mqtt message broker:
In Progress
Bug description:
Hi!
I'm developing my own MQTT library and I'm testing with Mosquitto
Broker. If I use 0x02 instead of 0x03 as version of protocol,
Mosquitto crashes:
1333455622: New connection from 192.168.10.114.
1333455622: Invalid protocol version 2 in CONNECT from 192.168.10.114.
1333455622: Socket read error on client (null), disconnecting.
*** glibc detected *** /usr/local/sbin/mosquitto: malloc(): smallbin double
linked list corrupted: 0x018a83f8 ***
To manage notifications about this bug go to:
https://bugs.launchpad.net/mosquitto/+bug/972389/+subscriptions
--
Mailing list: https://launchpad.net/~mosquitto-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mosquitto-devel
More help : https://help.launchpad.net/ListHelp