diff options
author | Kevin Brodsky <kevin.brodsky@linaro.org> | 2017-05-16 11:29:49 +0100 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-05-16 13:12:17 -0700 |
commit | b5b6aebb532541bcc08c5ab8686a18d8c8babbe4 (patch) | |
tree | b994e99fc3792bfff0873f077fcd369b680d805b /libc/stdio/stdio_ext.cpp | |
parent | 97ef40beede22ccc986d5a2b3f7bf81b03d8bb99 (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.
Bug: 38342450
Test: bionic-unit-tests --gtest_filter=string*
Change-Id: Idb80c0269226e40e343645a58608e3f324378468
(cherry picked from commit f19eeb8446de27e6b43c77642b03729e10facb2c)
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions