[klibc] bug on x86 in usr/klibc/memmove.c

pageexec at freemail.hu pageexec at freemail.hu
Mon Jul 7 14:17:27 PDT 2008


Hello guys,

this:

  asm volatile("std ; rep ; movsb"

is not such a great idea without the corresponding cld at the end ;),
it'll cause all kinds of funny memory corruption later (in my case i
had to debug v86d to find the culprit).

cheers,

  PaX Team



More information about the klibc mailing list