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:
Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent
6aa9b91f
Please register or sign in to comment