summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-14 12:35:39 +0200
committerGünther Deschner <gd@samba.org>2010-07-14 12:36:47 +0200
commite30aa4566646e137c98bd53e4e2fda8c2d458595 (patch)
tree33683b8c7ee818938941308c93e00f10a0f0bbf6
parentee56f74cae1d7387465f966dbe751398eaf01f10 (diff)
downloadsamba-e30aa4566646e137c98bd53e4e2fda8c2d458595.tar.gz
samba-e30aa4566646e137c98bd53e4e2fda8c2d458595.tar.bz2
samba-e30aa4566646e137c98bd53e4e2fda8c2d458595.zip
s3-dcerpc: fix crash bug in error path of process_complete_pdu().
Guenther
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
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;