[Bug 44845] Bankperfect plugin installater Echéancier hangs during install

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 1 21:33:29 CDT 2018


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

--- Comment #12 from Alex Henrie <alexhenrie24 at gmail.com> ---
Created attachment 60958
  --> https://bugs.winehq.org/attachment.cgi?id=60958
[PATCH] comctl32: Ensure that nPage <= nMax when calling SetScrollInfo

This is the best explanation I've come up with for this bug:

1. The installer patches SetScrollbarInfo.
2. LISTVIEW_UpdateHScroll calls SetScrollbarInfo with a page number greater
than the maximum.
3. The custom SetScrollbarInfo tries to correct the page number by doing
something that ultimately results in LISTVIEW_UpdateHScroll being called again.

The solution might be to make sure that the page number is less than or equal
to the maximum before calling SetScrollbarInfo (patch attached). The bug
disappears if you do that. Nikolay, what do you think?

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