On Mon, 06 Dec 2021 09:03:43 -0600, Scott Cheloha wrote:

> In lsearch(3), the key is allowed to overlap with the last element in
> base.  We need to memmove(3), not memcpy(3), or we could corrupt the
> key in that edge case.

OK, but does this deserve a comment so to that effect to prevent
someone from changing it back to memcpy() in the future?

 - todd

Reply via email to