Initialize an uninitialized field in ijar

The upstream patch was merged:
https://github.com/bazelbuild/bazel/commit/a5004430338bc72817c7

Bug: 28347190
Change-Id: I9b8b9bc830bd16299b94e8c92c22dba8aa36affb
This commit is contained in:
Shinichiro Hamaji 2016-05-03 03:19:23 +09:00
parent 9ecf54456c
commit d6c694b302

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);