[PATCH v1] x86: memcmp-avx2-movbe.S and memcmp-evex-movbe.S fix overflow bug.
Florian Weimer
fweimer@redhat.com
Wed Jun 9 09:37:27 GMT 2021
* Siddhesh Poyarekar:
> On 6/9/21 2:50 PM, Florian Weimer wrote:
>> Is this bug related?
>> wcsrtombs calls wcsnlen on input data which is not an array
>> <https://sourceware.org/bugzilla/show_bug.cgi?id=23711>
>
> Your interpretation that the input has to be an array of size maxlen
> appears to put constraints on maxlen.
But I think I later realized that GNU supports non-array use as an
extension, and that would mean that there is no such constraint.
Thanks,
Florian
More information about the Libc-alpha
mailing list