https://github.com/halide/Halide
Revision 244e72cc3829a57c6f95f90a7281e68912a32d05 authored by Steven Johnson on 26 April 2023, 22:37:36 UTC, committed by GitHub on 26 April 2023, 22:37:36 UTC
With MSAN enabled, we use `make_buffer_copy()` to build an efficient way to check the poison bits on buffers; unfortunately, if you are checking a buffer that has at least one dimension with zero-extent but nonzero-stride, the final while loop will never terminate. Add a trivial check so that it exits.
1 parent 4d86539
History
Tip revision: 244e72cc3829a57c6f95f90a7281e68912a32d05 authored by Steven Johnson on 26 April 2023, 22:37:36 UTC
Avoid endless loop in msan + zero-extent buffer (#7536)
Tip revision: 244e72c
File Mode Size
.github
apps
cmake
dependencies
doc
packaging
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.clang-format-ignore -rw-r--r-- 375 bytes
.clang-tidy -rw-r--r-- 2.2 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 4.9 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 5.6 KB
CMakePresets.json -rw-r--r-- 5.6 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 14.4 KB
MANIFEST.in -rw-r--r-- 159 bytes
Makefile -rw-r--r-- 105.2 KB
README.md -rw-r--r-- 16.4 KB
README_cmake.md -rw-r--r-- 76.2 KB
README_python.md -rw-r--r-- 32.2 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_vulkan.md -rw-r--r-- 11.4 KB
README_webassembly.md -rw-r--r-- 10.5 KB
README_webgpu.md -rw-r--r-- 3.9 KB
pyproject.toml -rw-r--r-- 195 bytes
requirements.txt -rw-r--r-- 129 bytes
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.1 KB
setup.py -rw-r--r-- 1.2 KB

README.md

back to top