[Bug 10417] OLEAUT32: crash if >128 methods in an interface

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 11 16:18:08 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10417





--- Comment #2 from Martin Kochanski <mjk at cardbox.com>  2007-11-11 16:18:07 ---
This bug was identified by reading the source code at
http://source.winehq.org/source/dlls/oleaut32/tmarshal.c, which is part of the
source code of Wine itself. It thus belongs to Wine directly rather than to
CrossOver Mac.

A simple reading of the Wine source code is enough to show that (a) there is a
bug, (b) the bug will ALWAYS lead to incorrect behaviour with any interface
that has more than 128 methods. [Although admittedly someone ignorant of the
Intel instruction set might think that the limit was 256 rather than 128]. If
it is the aim of Wine to provide an environment for running Windows programs
then the bug needs correcting whether or not it has ever been documented to
cause an actual crash.

It is worth remembering how few bug reports come with actual identified
erroneous lines in the Wine source code together with a two-line correction of
the bug.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list