Done!
** Changed in: mosquitto (Ubuntu)
Status: Confirmed => Fix Committed
** Changed in: mosquitto (Ubuntu Precise)
Status: Confirmed => In Progress
** Changed in: mosquitto (Ubuntu Quantal)
Status: Confirmed => In Progress
--
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:
Fix Released
Status in “mosquitto” package in Ubuntu:
Fix Committed
Status in “mosquitto” source package in Precise:
In Progress
Status in “mosquitto” source package in Quantal:
In Progress
Bug description:
[Impact]
Remote clients can cause the broker to crash, meaning a DoS for other
clients. The bug is caused by a double free() so no chance of buffer overrun or
other security issue.
[Fix]
Remove the incorrect memory free call.
[Test Case]
[Regression Potential]
This case is now tested for as part of the continuous integration testing of
upstream.
[Original Report]
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