https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288321
--- Comment #2 from Andriy Gapon <[email protected]> --- (In reply to Konstantin Belousov from comment #1) The first argument does not have to be a string ("C-string") despite what our manual page says. IMO, it's a responsibility of a programmer to ensure that len parameter is within the searched object (same as with, e.g., memcpy). https://pubs.opengroup.org/onlinepubs/009696799/functions/memchr.html -- You are receiving this mail because: You are the assignee for the bug.
