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@winehq.org ReportedBy: wjweiss@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.