Quiet valgrind warnings in init_current_teb

leslie.polzer at gmx.net leslie.polzer at gmx.net
Sun May 14 03:17:20 CDT 2006


On Sat, May 13, 2006 at 11:11:50PM +0100, Mike Hearn wrote:

> if ((ent->HighWord.Bits.Granularity = (limit >= 0x100000)))
>
> but unless I'm reading it wrong this is not testing ent before
> initialization at all, it's testing limit, assigning to ent, then
> testing the result of that assignment ... which seems to be valid.
Of course it is testing "ent" by accessing a member of it, thus
dereferencing it.

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060514/fc71190f/attachment.pgp


More information about the wine-devel mailing list