]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: make ip_append_data() handle NULL routing table
authorJulien TINNES <julien@cr0.org>
Thu, 27 Aug 2009 13:26:58 +0000 (15:26 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Aug 2009 19:23:43 +0000 (12:23 -0700)
commitdad3a4d8cd6443522e5955251d160e0070322381
tree890ada4f22e9ce5d64a121efc1ca63390d6b2100
parent8f1a93eabcd261097fe8b102bd2c9cbe16896f41
ipv4: make ip_append_data() handle NULL routing table

Add a check in ip_append_data() for NULL *rtp to prevent future bugs in
callers from being exploitable.

Signed-off-by: Julien Tinnes <julien@cr0.org>
Signed-off-by: Tavis Ormandy <taviso@sdf.lonestar.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/ipv4/ip_output.c