Fix segfault in dynamic bridge support
Signed-off-by:
Chris 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
Please register or sign in to comment