]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/netrom/nr_route.c
[NETROM]: Fix possible null pointer dereference.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 26 Jun 2006 07:05:23 +0000 (00:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2006 07:05:23 +0000 (00:05 -0700)
commit52383678a8ac80e6679f94f60c897f9292e0e8b9
tree071aa3fe0dd9124a645ef4c9cc7b769a5b034d91
parent068c6e98bc7ec4419299b38cd40be26ebf4bdeda
[NETROM]: Fix possible null pointer dereference.

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 <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/nr_route.c