[Bug 17530] netapi32:access crashes if +heap enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 28 09:50:30 CDT 2009


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


mrnobo1024 at yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrnobo1024 at yahoo.com




--- Comment #6 from mrnobo1024 at yahoo.com  2009-07-28 09:50:28 ---
netapi32 has a heap buffer overflow in the NETAPI_IsCurrentUser function, could
this be the cause?

    curr_user = HeapAlloc(GetProcessHeap(), 0, dwSize);
        // should be dwSize * sizeof(WCHAR)
    ...
    if(!GetUserNameW(curr_user, &dwSize))

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