[PATCH 07/11] oleaut32: Remove incorrect memid validation

Piotr Caban piotr at codeweavers.com
Mon Mar 15 17:39:46 CDT 2010


This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
---
  dlls/oleaut32/typelib2.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-oleaut32-Remove-incorrect-memid-validation.txt
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100315/ef3a10b5/attachment.bin>


More information about the wine-patches mailing list