Hannes Frederic Sowa cf970c002d 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>
2013-11-18 16:02:03 -05:00
..
2013-11-08 02:07:59 -05:00
2013-09-03 21:41:43 -04:00
2013-11-14 17:31:14 -05:00
2013-10-19 19:36:19 -04:00
2013-10-17 15:02:02 -04:00
2013-10-08 23:19:24 -04:00
2012-10-08 17:42:36 -04:00
2013-10-19 19:36:19 -04:00
2013-09-03 21:41:43 -04:00
2013-03-21 11:47:50 -04:00
2012-03-11 23:42:51 -07:00
2013-10-19 19:36:19 -04:00
2013-05-31 17:19:05 -07:00