News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by nly on Friday November 12, 2021 @08:25AM (#29199033)
I once maintained a project that had a custom memcpy implementation because they didn't want to link to libc.

They assumed aligned writes were safe and the compiler optimized it incorrectly, resulting in memory corruption.

There are no comments on this comment yet.