In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
https://sourceware.org/ml/libc-alpha/2019-02/msg00041.html
https://sourceware.org/bugzilla/show_bug.cgi?id=24155