Glibc change exposing bugs
Glibc change exposing bugs
Posted Nov 10, 2010 21:51 UTC (Wed) by nix (subscriber, #2304)In reply to: Glibc change exposing bugs by clugstj
Parent article: Glibc change exposing bugs
Also, everyone has known not to do this since C was young, long long before Linux ever existed.
My reaction here is the same as HJ's: if a function as speed-critical as memcpy() is made faster by a change, and it breaks overlapping memcpy()s, the fault is the overlapper for being bloody stupid. (However, if Linus is right that this isn't actually speeding anything up except perhaps in microbenchmarks, then the large size of the 'fast' memcpy() implementation becomes an issue.)