http://bugs.winehq.org/show_bug.cgi?id=8492
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2007-10-02 22:21:52 ---
- APM_HEADER *header = (APM_HEADER *)data;
...
- if ((hr = OLEPictureImpl_LoadMetafile(This, data + sizeof(APM_HEADER),
size - sizeof(header))) != S_OK)
return hr;
Shouldn't sizeof(header) above actually be either sizeof(APM_HEADER) or sizeof(*header)?