summaryrefslogtreecommitdiff
path: root/libc/stdio/open_memstream.c
diff options
context:
space:
mode:
authorPavel Kozlov <pavel.kozlov@synopsys.com>2023-11-09 15:04:29 +0400
committerWaldemar Brodkorb <wbx@openadk.org>2023-11-10 16:14:20 +0100
commit1762b04103e9b2c409649de1857a39867f15718f (patch)
treec6065b406b652caf2800ca77741fb331ca0f8b33 /libc/stdio/open_memstream.c
parentdfa72192f19f130d73e6587d0c3f7ef4e22c52c7 (diff)
arc: remove read ahead in asm strcmp code for ARCHS
Remove read ahead in the per-word compare loop as it can cause a segmentation fault in certain circumstances (when a string crosses a page boundary). For baremetal this relaxed approach is suitable but in Linux with MMU we should be more restrictive. Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
Diffstat (limited to 'libc/stdio/open_memstream.c')
0 files changed, 0 insertions, 0 deletions