]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit40dbfae440abe6860167f12e0296bd7a1a599839
tree4f18c4e5ba32240f90a9769c798d0c725ddb3dc0
parent93758c3da19e99f5377cc1413c27320882b18f4b
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