]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Fix null pointer dereference in debug code
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 5 May 2008 08:21:54 +0000 (01:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2008 08:21:54 +0000 (01:21 -0700)
commit38076a16960cbf3d78468a893d392540be8f0a5a
tree4f18c4e5ba32240f90a9769c798d0c725ddb3dc0
parent4b8735e4f5afad69d2b55e323d2f953e2a751c44
tipc: Fix null pointer dereference in debug code

This patch eliminates an obsolete use of the DBG_OUTPUT print
buffer which could lead to a null pointer crash in tipc_printf()
if TIPC's debugging capabilities are configured.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_distr.c