"Theo de Raadt" <dera...@openbsd.org> wrote: ... |>|the point is to make memcpy a strict API. |> |> It turned out not to be too problematic for myself (i hope i have |> found all occurrences). The commit message reads |> |> Avoid memcpy(3) crash due to strict standard compliance.. | |So you are saying strict standard compliance made your program buggy?
I have changed it to appease you and the weird english it was: Avoid crash due to a strictly standard compliant memcpy(3).. |> Luckily this happened before the release! ... |Then why did you use memcpy, if you knew it required strict ordering? |You should have used memmove in the first place, which is bcopy with |the arguments swapped. Yes. --steffen