[Bug 288321] memrchr function can be very slow

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Jul 2025 12:21:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288321

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
Can len argument be legitimately greater than the length of the string?
For instance, is the call
  memrchr("aaabbbc", 'c', INT_MAX);
legit?

-- 
You are receiving this mail because:
You are the assignee for the bug.