commit | b35c3d072ef8a1b18a96e669a289f5fa28d78c8b | [log] [tgz] |
---|---|---|
author | George Gensure <ggensure@uber.com> | Tue Jan 14 02:57:52 2020 -0800 |
committer | Philipp Wollermann <philwo@google.com> | Thu Feb 13 11:06:08 2020 +0100 |
tree | 7f614c810ad5f6cdfd7e0b33f723adb39fe8eb56 | |
parent | 0f4c498a270f05b3896d57055b6489e824821eda [diff] |
Prevent NPE on backwards seek on Chunker Ensure that a reset() is not immediately followed by a data member access with a call to maybeInitialize(). Practically, this can occur if an offset has progressed locally, but the remote indicates a non-0 committed size, and would always have thrown an NPE on a requisite seek, proven with the accompanied test case. Closes #10566. PiperOrigin-RevId: 289615198
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md