roken: windows opendir() initialize path buffer
Change-Id: If6ef39b3a7b256c78ecd7786cc939903f7823931
This commit is contained in:
@@ -111,7 +111,7 @@ opendir(const char * path)
|
|||||||
struct _finddata_t fd;
|
struct _finddata_t fd;
|
||||||
intptr_t fd_handle;
|
intptr_t fd_handle;
|
||||||
const char *filespec;
|
const char *filespec;
|
||||||
char path_buffer[1024];
|
char path_buffer[1024]="";
|
||||||
|
|
||||||
memset(&fd, 0, sizeof(fd));
|
memset(&fd, 0, sizeof(fd));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user