Greetings. I have just discovered that the bcmp() function on FreeBSD is defective on 64 bit systems. It may errorneously return an "equal" result when the buffers are not equal due to a truncating cast in the return value. As OpenBSD uses the same code, I believe you may be affected, too. This may have a security impact, but I was unable to find any code in OpenBSD that uses bcmp() in a way that could trigger this bug.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272474 Yours, Robert Clausecker <f...@freebsd.org> -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments