Quiet valgrind warnings in init_current_teb

Mike Hearn mike at plan99.net
Sun May 14 04:58:13 CDT 2006

On 5/14/06, leslie.polzer at gmx.net <leslie.polzer at gmx.net> wrote:
> Of course it is testing "ent" by accessing a member of it, thus
> dereferencing it.

ent is initialized here OK, it's correctly pointing to an LDT_ENTRY
struct on the stack. Valgrind is (presumably) complaining about
ent->HighWord.Bits.Granularity being tested before being assigned, but
that's wrong and is either a mistake in:

a) My thinking (quite likely)
b) Valgrind
c) GCC

thanks -mike

More information about the wine-devel mailing list