Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: verify payload of SubscribeMultiple is not empty #385

Merged
merged 1 commit into from Dec 20, 2019

Commits on Nov 18, 2019

  1. 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 eclipse#384
    
    Signed-off-by: Robert Weber <robertweber95@gmail.com>
    robbawebba committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    ca5affb View commit details
    Browse the repository at this point in the history