On Wed, Aug 17, 2022 at 04:04:26PM +0200, Claudio Jeker wrote: > I did switch to memset from bzero and from bcopy to memcpy whenever I > touched the code but now I just decided to change all users of bcopy(), > bzero() and bcmp() to use memcpy(), memset() and memcmp(). > > None of the bcopy() users had overlapping memory regions so memcpy() > should be fine.
I agree that there are no overlaps as at least one of the two variables is always on the stack. Also, the arguments were correctly reversed. ok tb