Skip to content
Snippets Groups Projects
Commit bb160b57 authored by Jens Freimann's avatar Jens Freimann Committed by Jason Wang
Browse files

net/socket: fix coverity issue


This fixes coverity issue CID1005339.

Make sure that saddr is not used uninitialized if the
mcast parameter is NULL.

Cc: qemu-stable@nongnu.org
Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarJens Freimann <jfreimann@redhat.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 5e89dc01
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment