OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ecf544
)
Initialize an uninitialized field in ijar
author
Shinichiro Hamaji
<hamaji@google.com>
Mon, 2 May 2016 18:19:23 +0000
(
03:19
+0900)
committer
Shinichiro Hamaji
<hamaji@google.com>
Mon, 2 May 2016 18:19:23 +0000
(
03:19
+0900)
The upstream patch was merged:
https://github.com/bazelbuild/bazel/commit/
a5004430338bc72817c7
Bug:
28347190
Change-Id: I9b8b9bc830bd16299b94e8c92c22dba8aa36affb
tools/ijar/zip.cc
patch
|
blob
|
history
diff --git
a/tools/ijar/zip.cc
b/tools/ijar/zip.cc
index
ca5f396
..
3aa06db
100644
(file)
--- a/
tools/ijar/zip.cc
+++ b/
tools/ijar/zip.cc
@@
-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);