Glibc change exposing bugs
Posted Nov 14, 2010 22:29 UTC (Sun) by
nix (subscriber, #2304)
In reply to:
Glibc change exposing bugs by gus3
Parent article:
Glibc change exposing bugs
The GNU people should own up to having violated the documentation on their code.
What on earth? The relevant documentation for memcpy() is ISO C, incorporated by reference into all versions of POSIX.1. This clearly states "If copying takes place between objects that overlap, the behavior is undefined."
This isn't an obscure or hard-to-interpret part of the Standard. Undefined, bang, that's it. Perhaps you are operating under the misapprehension that the linux manpages project, a descriptive effort, not a prescriptive one, is in some way binding on glibc? It isn't. It really isn't. It isn't binding on anything.
(
Log in to post comments)