diff options
author | Joe Onorato <joeo@google.com> | 2019-04-03 16:17:16 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2019-04-04 21:43:53 -0700 |
commit | 4796ae6f6a65af130cdb6e0cf5e0845ce8ebedeb (patch) | |
tree | a1cbf2a44fdfc44984b85906076617fcacdb7f37 /libs/protoutil/src | |
parent | f8b98bb10dbdd5c4d7e7ae7592a1753e8b5489df (diff) |
Fix mMaxOffset not initialized.
Test: bit GtsIncidentManagerTestCases:*
Bug: 129884655
Change-Id: Ic65566c02a255d1f52ce6876152383126afbfaef
Diffstat (limited to 'libs/protoutil/src')
-rw-r--r-- | libs/protoutil/src/ProtoFileReader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/protoutil/src/ProtoFileReader.cpp b/libs/protoutil/src/ProtoFileReader.cpp index 074170a6e2c3..4017979fd4fc 100644 --- a/libs/protoutil/src/ProtoFileReader.cpp +++ b/libs/protoutil/src/ProtoFileReader.cpp @@ -55,6 +55,7 @@ ProtoFileReader::ProtoFileReader(int fd) mSize(get_file_size(fd)), mPos(0), mOffset(0), + mMaxOffset(0), mChunkSize(sizeof(mBuffer)) { } |