Skip to content
Commit c8935581 authored by Khem Raj's avatar Khem Raj Committed by Adhemerval Zanella
Browse files

linux: Check for null value msghdr struct before use



This avoids crashes in libc when cmsg is null and refrencing msg
structure when it is null

Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 91fb0f17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment