mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
93758c3da1
commit
40dbfae440
1 changed files with 0 additions and 3 deletions
|
@ -41,9 +41,6 @@
|
|||
#include "msg.h"
|
||||
#include "name_distr.h"
|
||||
|
||||
#undef DBG_OUTPUT
|
||||
#define DBG_OUTPUT NULL
|
||||
|
||||
#define ITEM_SIZE sizeof(struct distr_item)
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue