Fix memset bug where wrong buffer size was being passed (trac #29)
This bug was reported by devy at free dot fr. It had already been fixed in the master branch.
This commit is contained in:
1 parent
d5148b0b73
commit
82e3af8fd3
1 file changed
+1
-1
+1
-1
@@ -49,7 +49,7 @@ init_stats(void)
|
||||
if (stats == MAP_FAILED)
|
||||
return;
|
||||
|
||||
memset(stats, 0, sizeof(struct stat));
|
||||
memset(stats, 0, sizeof(struct stat_s));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user