[ws2_32/tests] Fix crash on win98

Kai Blin kai.blin at gmail.com
Wed May 28 03:42:28 CDT 2008


On Wednesday 28 May 2008 10:08:49 Paul Vriens wrote:
> Hi,
>
> As pi_size was uninitialized the value turned out to be the cause of this
> crash.
>
> I don't know where that limit ( 2*sizeof(WSAPROTOCOL_INFOA) ) comes from
> but tests show it has to be less then that on win98.

Whoops, thanks for the catch. I had that initialized to 0 at one point in my 
test program, but it seems like I dropped it while reworking the tests.

Cheers,
Kai


-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080528/80969d6b/attachment.pgp 


More information about the wine-devel mailing list