From ea0a24866ccf27a4010edf75c5d0d223a84c80cd Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Mon, 30 May 2011 15:50:04 +0200 Subject: [PATCH] coroipcs: init buf in coroipcs_handler_dispatch Signed-off-by: Jan Friesse Reviewed-by: Steven Dake --- exec/coroipcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/coroipcs.c b/exec/coroipcs.c index 89291b53..e06acb5e 100644 --- a/exec/coroipcs.c +++ b/exec/coroipcs.c @@ -1597,7 +1597,7 @@ int coroipcs_handler_dispatch ( mar_req_setup_t *req_setup; struct conn_info *conn_info = (struct conn_info *)context; int res; - char buf; + char buf = 0; if (ipc_thread_exiting (conn_info)) { return conn_info_destroy (conn_info);