[Bug 20942] Read buffer overflow in MODULE_LoadModule16() causing valgrind warnings in all tests??

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 7 22:57:16 CST 2009


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


Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Dan Kegel <dank at kegel.com>  2009-12-07 22:57:15 ---
heh.  Probably introduced by 

commit 4edcf1caa52a09fffaf032a35ffd129259084096
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Dec 4 21:47:30 2009 +0100
    gdi32: Make gdi.exe into a stand-alone 16-bit module.

In libs/wine/loader.c, wine_dll_get_owner opens the directory 
dlls/gdi.exe16 and tries to read from it; read returns -1, 
buffer is nul-terminated at offset -1 (a write underflow on a stack-allocated
buffer) and hilarity ensues.

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