commit | 2bf37381e0a31e89d8dcf0707bf5abdeef8bc79a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Nov 09 11:20:28 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 09 11:22:37 2020 -0800 |
tree | 25c9f6e33203dbdef0d50d0e53cdb3ee51d8eefb | |
parent | 73402fa4aa5b9de46c9a4042b75e6fb332ad4a7f [diff] |
ijar: Avoid running past the end of a static buffer. ``` INFO: From Compiling third_party/ijar/zip_main.cc: In file included from /usr/include/string.h:495, from third_party/ijar/zip_main.cc:28: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at third_party/ijar/zip_main.cc:159:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Closes #12292. PiperOrigin-RevId: 341446599
{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