From e30aa4566646e137c98bd53e4e2fda8c2d458595 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 14 Jul 2010 12:35:39 +0200 Subject: s3-dcerpc: fix crash bug in error path of process_complete_pdu(). Guenther --- source3/rpc_server/srv_pipe_hnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index f6146c08d1..b86a83bf07 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -428,7 +428,7 @@ static bool process_request_pdu(pipes_struct *p, struct ncacn_packet *pkt) static void process_complete_pdu(pipes_struct *p) { - struct ncacn_packet *pkt; + struct ncacn_packet *pkt = NULL; NTSTATUS status; bool reply = False; -- cgit