[Bug 35127] Gamehall (Chinese game client) crashes in comctl32

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 18 10:23:33 CST 2018


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

--- Comment #19 from Zhiyi Zhang <yi.gd.cn at gmail.com> ---
(In reply to Zhiyi Zhang from comment #18)
> Further experiment on Windows by calling related api and dumping the memory
> pointed by HTREEITEM, $HTREEITEM+0x1a is the textWidth member. And since the
> content 2 bytes before and after $HTREEITEM+0x1a is not zero, and don't
> change with the text of the item. It's reasonable to believe that textWidth
> is not a LONG but a WORD.

Sorry, I was wrong. 2 bytes after $HTREEITEM+0x1a is zero. So it's possible
that textWidth is a LONG member but aligned to 2 bytes boundary, which means
there is WORD before textWidth.

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