[Bug 21957] New: Missing GUID check in IAMMultiMediaStreamImpl_QueryInterface?

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 7 01:16:04 CST 2010


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

           Summary: Missing GUID check in
                    IAMMultiMediaStreamImpl_QueryInterface?
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: amstream
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: rainy6144 at gmail.com


This is necessary to make some games work (without actually showing the media,
though).

--- amstream.c.bak    2010-03-06 16:55:24.000000000 +0800
+++ amstream.c    2010-03-06 16:55:36.000000000 +0800
@@ -79,6 +79,7 @@
     TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject);

     if (IsEqualGUID(riid, &IID_IUnknown) ||
+    IsEqualGUID(riid, &IID_IMultiMediaStream) ||
         IsEqualGUID(riid, &IID_IAMMultiMediaStream))
     {
         IClassFactory_AddRef(iface);

-- 
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