13 Feb
2001
13 Feb
'01
7:24 p.m.
davep <davep(a)cyw.uklinux.net> writes:
123 calls RegQueryValueEx for the binary values with lpData set to NULL and lpcbData non-NULL. RegQueryValueEx is supposed to return the size of the buffer needed to hold the data, but Wine is returning the size of its initial buffer (0xeb IIRC, sizeof(buffer)-sizeof(KEY_VALUE_PARTIAL_INFORMATION)). This causes a crash when 123 immediately calls the same function again with a real buffer address, presumably because 123 didn't allocate enough storage space.
Could you please send me a +reg,+server trace of the offending calls? -- Alexandre Julliard julliard(a)winehq.com