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:
parent
d5148b0b73
commit
82e3af8fd3
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user