From dfc47f3974ed09f14e0cc0ead433e9956addf8b1 Mon Sep 17 00:00:00 2001 From: Yuval Tal Date: Sun, 29 May 2011 01:43:34 +0300 Subject: [PATCH] initialize array --- shairport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shairport.c b/shairport.c index bb21c617..50ee45ab 100644 --- a/shairport.c +++ b/shairport.c @@ -400,6 +400,7 @@ void writeDataToClient(int pSock, struct shairbuffer *pResponse) int readDataFromClient(int pSock, struct shairbuffer *pClientBuffer) { char tReadBuf[MAX_SIZE]; + tReadBuf[0] = '\0'; int tRetval = 1; int tEnd = -1;