Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: verify payload of SubscribeMultiple is not empty
MQTT protocol 3.1.1 specifies that the payload in a SUBSCRIBE packet must not be empty and must contain at least one topic filter and QoS pair. Validate the input to SubscribeMultiple meets this requirement to avoid protocol errors when communicating with a broker. Fixes #384 Signed-off-by: Robert Weber <robertweber95@gmail.com>
- Loading branch information