Fix check for invalid input in typelib2.c
piotr at codeweavers.com
Sat Mar 13 06:22:46 CST 2010
On 03/06/10 22:24, Gerald Pfeifer wrote:
> The check below tries to catch cases where FUNCDESC.memid is negative
> and different from DISPID_UNKNOWN. Alas, it is broken and the second
> half _never_ will trigger (cf. the attached test program).
Thanks for finding this bug. Unfortunately the check you're fixing was
even more incorrect. I have just found that it's possible to set some
negative memid values.
More information about the wine-patches