Commit dd6d8237 authored by Panagiotis Vasilikos's avatar Panagiotis Vasilikos
Browse files

Potential Null pointer dereference in util_mosq.c



Reason: There is no check that the mosquitto__malloc at line 162 was sucessfull.
This could result to a Null pointer dereference in the memcpy call at line 166.

Fix: I added the check.
Signed-off-by: default avatarPanagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent 6aa9b91f
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