diff options
| author | Kevin Brodsky <kevin.brodsky@linaro.org> | 2017-05-16 11:29:49 +0100 |
|---|---|---|
| committer | Kevin Brodsky <kevin.brodsky@linaro.org> | 2017-05-16 11:29:49 +0100 |
| commit | f19eeb8446de27e6b43c77642b03729e10facb2c (patch) | |
| tree | 04842f48982193239fa0af243bfb6a91eb1cbf12 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | f0ddcc676c0bcf44625e8651c0959f9176cd8cc5 (diff) | |
libc: ARM64: fix memset for non-standard ZVA sizes
372f19e9e27c ("libc: ARM64: update memset/strlen/memcpy/memmove to
newlib/cortex-strings") introduced a bug in memset, only occurring
on the [set_long + zero + non-standard ZVA size] path, more
specifically when DCZID_EL0 reports a size different to 64 or 128.
On platforms with such sizes reported by DCZID_EL0, various string*
unit tests fail due to memset zeroing memory before and/or after the
area it is supposed to set.
Test: bionic-unit-tests --gtest_filter=string*
Change-Id: Idb80c0269226e40e343645a58608e3f324378468
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
