[PATCH 5/5] user32: Correctly calculate the client size of a minimized window.

Alexandre Julliard julliard at winehq.org
Thu Dec 21 09:22:20 CST 2017


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
> This mitigates an intermittent failure in the tests for LockWindowUpdate() on
> the testbot, reducing it from a crash to a normal failure. For as-yet
> undetermined reasons, the test window is being minimized, causing GetPixel()
> to attempt to access memory around (-32000,-32000) pixels outside of the
> window's actual bitmap.

No matter how screwed up the window position may be, it shouldn't access
memory outside of the bitmap. Any chance you could write a test
reproducing this crash?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list