[Bug 5658] New: Crash with VariantChangeType()
Wine Bugs
wine-bugs at winehq.org
Wed Jul 12 12:56:02 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5658
Summary: Crash with VariantChangeType()
Product: Wine
Version: unspecified
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-ole
AssignedTo: wine-bugs at winehq.org
ReportedBy: grolgh at gmail.com
VariantChangeType is observed crashing if it gets the same type.
It takes three parameters, input, expected type id, and output variant.
If you try to convert a VT_BOOL to a VT_BOOL it crashes.
Example program, not minimal:
This program crashes a bug in VariantChangeType()
Download:
http://www.batman.no/buzzwine/
Reference Screenshot:
http://www.batman.no/buzzclone/pre-v0.3-1.gif
Steps to reproduce:
Download entire folder. Unpack Gear.tar.gz into Gear. Start "wine buzz.exe".
Press "OK". Click treeview, "Generators". DnD FSM Infector next to "Master".
Doubleclick "Infector". Notice how sliders are drawn wrong, and does not work
correctly and eventually crashes the program.
Untested example code:
VARIANT v;
VariantInit(&v);
v.vt=VT_BOOL;
v.boolValue=FALSE; VARIANT v2;
VariantInit(&v2);
VariantChangeType(&v, VT_BOOL, &v2);
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list