[Debburn-devel] Re: [PATCH] fixes for aliasing bugs
Lorenz Minder
lminder at gmx.net
Wed Sep 27 22:31:15 UTC 2006
Hi again,
Lorenz Minder wrote:
> chains do not solve aliasing issues. (However, the fact that the old
> writing was very obfuscated suggests that maybe the obvious solution
> does not work on some old / weird compiler; some checking might be in
> order.)
Ok, I had some second thoughts on that: It is not strict ANSI C to do
pointer arithmetic on void *, so the fix is not correct either. I think
we have to make buffer a char *. I'll investigate this further and come
up with an updated patch.
Best,
--Lorenz
More information about the Debburn-devel
mailing list