[Bug 2162] New: HttpQueryInfoW is not using the proper size for heapalloc

Wine Bugs wine-bugs at winehq.org
Sat Apr 10 23:04:17 CDT 2004


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

           Summary: HttpQueryInfoW is not using the proper size for
                    heapalloc
           Product: Wine
           Version: 20040309
          Platform: All
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-net
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wjweiss at hotmail.com


lpdwBufferLength in HttpQueryInfoA returns the size of the string in lpBuffer
excluding the NULL.  However, HttpQueryInfoW does uses lpdwBufferLength+1 for
the HeapAlloc or the subsequent memcpy or MultiByteToWideChar.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list