am d9a16d6e: Merge change 23852 into eclair
Merge commit 'd9a16d6e7daf8e58ebc7760530d9b015dbe4678d' into eclair-plus-aosp * commit 'd9a16d6e7daf8e58ebc7760530d9b015dbe4678d': Fix a call to memset(3) with reversed arguments.
This commit is contained in:
commit
983b8bb01c
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