https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7304
Hanno Boeck <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Hanno Boeck <[email protected]> --- You're making specific assumptions about the implementation of memcmp, however there's nothing in the C standard that allows you to make such assumptions. The comparison could be implemented in any way, e.g. by comparing chunks or starting the comparison at the end of the buffer. strncmp does exactly what you want - it ends reading the buffer at the first zero byte. -- You are receiving this mail because: You are the assignee for the bug.
