diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-08 18:34:42 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-08 18:34:42 +0000 |
commit | dae6ea17bdb7e8a4c7c58f124251aea32b6b829b (patch) | |
tree | 5a317d80317cd5b3b88baeeeabc8aaf78107f3e7 | |
parent | 0bad802dc17fc283171923479960d6dab6342d3c (diff) | |
parent | ae2f2db5e0e961441be3545878b1c3be7de1f1c5 (diff) | |
download | sfntly-dae6ea17bdb7e8a4c7c58f124251aea32b6b829b.tar.gz |
Snap for 5600800 from ae2f2db5e0e961441be3545878b1c3be7de1f1c5 to pi-platform-release
Change-Id: Ic54cb5555fb2ccaabde4081729891842d9b43ad2
-rw-r--r-- | README.android | 4 | ||||
-rw-r--r-- | cpp/src/sfntly/port/file_input_stream.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/README.android b/README.android index 4447b27..39b0cf9 100644 --- a/README.android +++ b/README.android @@ -9,3 +9,7 @@ git rm -rf cpp/data git rm -rf cpp/ext git rm -rf cpp/tools git commit + + +# Local changes +Fixed uninitialized variable. See bug 116114182 for details. diff --git a/cpp/src/sfntly/port/file_input_stream.cc b/cpp/src/sfntly/port/file_input_stream.cc index dfe9a7b..883c1fd 100644 --- a/cpp/src/sfntly/port/file_input_stream.cc +++ b/cpp/src/sfntly/port/file_input_stream.cc @@ -70,7 +70,7 @@ int32_t FileInputStream::Read() { #endif return 0; } - byte_t value; + byte_t value = 0; size_t length = fread(&value, 1, 1, file_); position_ += length; return value; |