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>pull/1577/head
parent
6aa9b91fff
commit
dd6d8237cb
Loading…
Reference in New Issue