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;