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

Commit d475db40 authored by Android Code Review's avatar Android Code Review
Browse files

Merge change I4e5c1c26

* changes:
  Fix use of memset function
parents 3b226f9e 4e5c1c26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,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) {