From d78fe0c80a04594acab06e11a0e723d73c70fbdc Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 10 Sep 2013 21:53:30 -0400 Subject: [PATCH] roken: windows opendir() initialize path buffer Change-Id: If6ef39b3a7b256c78ecd7786cc939903f7823931 --- lib/roken/dirent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/dirent.c b/lib/roken/dirent.c index df4c270a6..36f1bc9dd 100644 --- a/lib/roken/dirent.c +++ b/lib/roken/dirent.c @@ -111,7 +111,7 @@ opendir(const char * path) struct _finddata_t fd; intptr_t fd_handle; const char *filespec; - char path_buffer[1024]; + char path_buffer[1024]=""; memset(&fd, 0, sizeof(fd));