[Bug 18382] SubEdit fails to start

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 4 13:55:48 CDT 2015


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

Nikolay Sivov <bunglehead at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |comctl32

--- Comment #16 from Nikolay Sivov <bunglehead at gmail.com> ---
Yes, I can confirm that this is comctl32 issue. It fails to load on unexpected
version value here:

---
    if (ilHead.usVersion != 0x101) /* probably version? */
    return NULL;
---

This stream got 0x600 instead of 0x101. If I relax this check to accept this
other value it proceeds to load imagelist just fine. We'll need some tests for
that, possibilities are:

- it's not a version field but something else;
- v6 uses different value for this field;
- ImageList_Write() always writes 0x101, but _Read() isn't that strict as we
are.

P.S. later it fails harder trying to create Windows Media Player ActiveX
component.

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