Commit 8491fd4a authored by Chris Elston's avatar Chris Elston
Browse files

Fix segfault in dynamic bridge support



Signed-off-by: default avatarChris Elston <chris.elston@sancloud.com>

Sending an empty packet to $BRIDGE/new would cause a segfault because
the payload pointer was accessed without checking for NULL.

This change rejects an empty payload with MOSQ_ERR_INVAL.
parent cd3b5886
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment