git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4861292
)
ping: prevent NULL pointer dereference on write to msg_name
author
Hannes Frederic Sowa
<hannes@stressinduktion.org>
Mon, 18 Nov 2013 06:07:45 +0000
(07:07 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Nov 2013 21:02:03 +0000
(16:02 -0500)
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>
No differences found