[Bug 21543] Pasting bitmaps that were created by gnome-screenshot can crash Wine in X11DRV_CLIPBOARD_RenderSynthesizedBitmap

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 31 13:47:39 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=21543

Alexander Scott-Johns <alexander.scott.johns+winebug at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Alexander Scott-Johns <alexander.scott.johns+winebug at googlemail.com> 2011-01-31 13:47:38 CST ---
I couldn't reproduce this bug using gnome-screenshot, so it was probably fixed
a while ago.

The crash was caused because the code didn't check the return value of
GlobalLock, and then tried to access lpbmih->biBitCount when lpbmih was NULL. I
added a NULL check anyway in wine-1.3.12-224-g356eaa1, so this crash shouldn't
recur.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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