diff -Naur a/direntry.c b/direntry.c
--- a/direntry.c	2016-06-09 11:43:10.440631427 +0100
+++ b/direntry.c	2016-06-09 11:44:02.084949449 +0100
@@ -24,6 +24,7 @@
 
 void initializeDirentry(direntry_t *entry, Stream_t *Dir)
 {
+	memset(entry, 0, sizeof(direntry_t));
 	entry->entry = -1;
 /*	entry->parent = getDirentry(Dir);*/
 	entry->Dir = Dir;
