[Bug 12242] PhoenixRC: HID controller does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 30 22:55:13 CDT 2008


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





--- Comment #4 from Juan Lang <juan_lang at yahoo.com>  2008-03-30 22:55:13 ---
(In reply to comment #3)
> As you can see the interface 0x13ef10 is never created, yet PhoenixRC
> tries to delete it twice and passes 0x3a (also never created) as the HDEVINFO
> handle.
> I don't know if this is a bug (feature?) in PhoenixRC, but I'll patch
> SetupDiDeleteDeviceInterfaceRegKey so that it won't page fault on a bad pointer
> (Windows does not, it returns FALSE and an error code).

You don't think it's just a bug in setupapi?  Notice that
SetupDiDestroyDeviceInfoList is called just before these bogus handles are
passed to SetupDiDeleteDeviceInterfaceRegKey.  The following call path could
produce that:
SetupDiDestroyDeviceInfoList
SETUPDI_FreeDeviceInfo
SETUPDI_FreeInterfaceInstances
SetupDiDeleteDeviceInterfaceRegKey

You might try Alexander Morozov's patches instead, they seem to address some
bogus pointer bug in setupapi.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list