Merge "Initialize an uninitialized field in ijar"

am: a6da20e2d2

* commit 'a6da20e2d29b3bbde0b1b9101727cd6ea8b9c9c4':
  Initialize an uninitialized field in ijar

Change-Id: Iee38d8d3eb2ff20d8e4d1cf876e83bfdac5e3391
This commit is contained in:
Shinichiro Hamaji 2016-05-02 19:10:43 +00:00 committed by android-build-merger
commit c6a3413fa7

View file

@ -846,6 +846,7 @@ u1* OutputZipFile::WriteLocalFileHeader(const char* filename, const u4 attr) {
memcpy(entry->file_name, filename, file_name_length_);
entry->extra_field_length = 0;
entry->extra_field = (const u1 *)"";
entry->crc32 = 0;
// Output the ZIP local_file_header:
put_u4le(q, LOCAL_FILE_HEADER_SIGNATURE);