Update portable memmem()

Mathias dmathias at airmail.cc
Sat Aug 8 02:58:56 AEST 2020

I have noticed that openbsd-compat/memmem.c from OpenSSH portable is
still using an old version of OpenBSD's memmem(). Recently OpenBSD's
received a big update to increase performance. It would make sense for
OpenSSH to update its version as well.
Link: https://cvsweb.openbsd.org/src/lib/libc/string/memmem.c?rev=1.5

More information about the openssh-unix-dev mailing list