diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-11-18 06:07:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-18 21:02:03 (GMT) |
commit | cf970c002d270c36202bd5b9c2804d3097a52da0 (patch) | |
tree | 5a8f07507f36caef9274c29504f428fef07f9760 /drivers/mailbox | |
parent | 4861292f730d7c461758575e2557e285a1d4521e (diff) | |
download | linux-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