commit | cf970c002d270c36202bd5b9c2804d3097a52da0 | [log] [tgz] |
---|---|---|
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | Mon Nov 18 07:07:45 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 18 16:02:03 2013 -0500 |
tree | 5a8f07507f36caef9274c29504f428fef07f9760 | |
parent | 4861292f730d7c461758575e2557e285a1d4521e [diff] |
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>