aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2014-05-19 14:16:47 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-06-10 22:24:29 -0700
commitada6c1c73f6cf77fc98d4c8c3eab956418c02f28 (patch)
tree80f1f827bc453cdb65fff89d54c9ae7a930e0b3d /net/lapb/lapb_timer.c
parent4d19c094071a6bc61b3d1f0c9b152258757c17d0 (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. Change-Id: I3773934fb633157ce5011d2f10900b7caef73733 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net> Git-commit: cf970c002d270c36202bd5b9c2804d3097a52da0 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Avijit Kanti Das <avijitnsec@codeaurora.org> Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions