]> err.no Git - linux-2.6/commit
[APPLETALK]: Fix potential OOPS in atalk_sendmsg().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 27 Oct 2006 22:26:21 +0000 (15:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Oct 2006 23:24:34 +0000 (15:24 -0800)
commit201a95afaa324b23188eeec268f6bb0b4b70b710
treeb4821e52a74aefc2a3b766c43b32aaa83a3eca34
parentd458fd82c9bb536e4a582955e88554a02a92bf78
[APPLETALK]: Fix potential OOPS in atalk_sendmsg().

atrtr_find() can return NULL, so do not blindly dereference
rt->dev before we check for rt being NULL.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c