[Bug 38288] New: Wrong pointer in icnsformat.c IcnsFrameEncode_WriteSource

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 25 13:23:00 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38288

            Bug ID: 38288
           Summary: Wrong pointer in icnsformat.c
                    IcnsFrameEncode_WriteSource
           Product: Wine
           Version: 1.7.39
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: windowscodecs
          Assignee: wine-bugs at winehq.org
          Reporter: isakov-sl at bk.ru
      Distribution: ---

The function has parameters
static HRESULT WINAPI IcnsFrameEncode_WriteSource(IWICBitmapFrameEncode *iface,
    IWICBitmapSource *pIBitmapSource, WICRect *prc)

and line 400
    hr = configure_write_source(iface, pIBitmapSource, &prc,
        &GUID_WICPixelFormat32bppBGRA, This->size, This->size,
        1.0, 1.0);
pointer to prc is wrong. It must be
    hr = configure_write_source(iface, pIBitmapSource, prc,
        &GUID_WICPixelFormat32bppBGRA, This->size, This->size,
        1.0, 1.0);

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