Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2004 13:25:45 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        current@freebsd.org
Subject:   Re: recent libalias changes
Message-ID:  <xzpvfh19y2u.fsf@dwp.des.no>
In-Reply-To: <20040706111403.GA68327@walton.maths.tcd.ie> (David Malone's message of "Tue, 6 Jul 2004 12:14:03 %2B0100")
References:  <20040705133820.GA9159@stud.fit.vutbr.cz> <xzp1xjqbhee.fsf@dwp.des.no> <20040705161059.GA52584@walton.maths.tcd.ie> <xzpsmc6a02c.fsf@dwp.des.no> <xzpoemu9zfe.fsf@dwp.des.no> <20040706082906.GA50212@stud.fit.vutbr.cz> <xzpeknpbg0t.fsf@dwp.des.no> <20040706111403.GA68327@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone <dwmalone@maths.tcd.ie> writes:
> The bit of the function that the patch changes seems to only be
> accessing the data through char types, which the C standard says
> can alias any type.

the code I replaced has casts on the lvalue, which is not allowed.

>                     The while loop that is immediately above it
> looks risky though, as this function is probably called with a
> struct ip * somewhere.

yes, that's what I think may need rewriting.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvfh19y2u.fsf>