Re: [NETROM] Fix possible null pointer dereference.

2006-06-26 Thread David Miller
From: Ralf Baechle <[EMAIL PROTECTED]> Date: Fri, 23 Jun 2006 22:44:37 +0100 > If in nr_link_failed the neighbour list is non-empty but the node list > is empty we'll end dereferencing a in a NULL pointer. > > This fixes coverity 362. > > Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Applied

[NETROM] Fix possible null pointer dereference.

2006-06-23 Thread Ralf Baechle
If in nr_link_failed the neighbour list is non-empty but the node list is empty we'll end dereferencing a in a NULL pointer. This fixes coverity 362. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> net/netrom/nr_route.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) Inde