Merge change 23852 into eclair
* changes: Fix a call to memset(3) with reversed arguments.
This commit is contained in:
commit
d9a16d6e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ read_central_dir(Zipfile *file)
|
|||
len = (buf+bufsize)-p;
|
||||
for (i=0; i < file->totalEntryCount; i++) {
|
||||
Zipentry* entry = malloc(sizeof(Zipentry));
|
||||
memset(entry, sizeof(Zipentry), 0);
|
||||
memset(entry, 0, sizeof(Zipentry));
|
||||
|
||||
err = read_central_directory_entry(file, entry, &p, &len);
|
||||
if (err != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue