commit | e0175ca7e440a87e9d03f249fc8f210063df7908 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Mar 14 14:38:08 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Mar 14 14:38:08 2013 -0700 |
tree | 982e64580d19fc846cd7f2a1fa1dee2fbe2274d8 | |
parent | ec706c24acb4d1db6a583a57b76adfb9250d39eb [diff] |
Don't search off the end of the index for bad Olson ids. In the old code, the index was a file to itself, so it made sense to read until you hit the end of the file. In the new code, the index is followed by hundreds of KiB of data, so we need to just search the index. Bug: 8368791 Change-Id: Icf5f8b5516cf3a93679fa849c9f6cd1cb100e0f1