Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e5d3b65 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 983b8bb0: am d9a16d6e: Merge change 23852 into eclair

Merge commit '983b8bb0'

* commit '983b8bb0':
  Fix a call to memset(3) with reversed arguments.
parents 2e755e96 983b8bb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {