summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-11-18 06:07:45 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-11-18 21:02:03 (GMT)
commitcf970c002d270c36202bd5b9c2804d3097a52da0 (patch)
tree5a8f07507f36caef9274c29504f428fef07f9760 /drivers/mailbox
parent4861292f730d7c461758575e2557e285a1d4521e (diff)
downloadlinux-cf970c002d270c36202bd5b9c2804d3097a52da0.tar.xz
ping: prevent NULL pointer dereference on write to msg_name
A plain read() on a socket does set msg->msg_name to NULL. So check for NULL pointer first. Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions