http://bugs.winehq.org/show_bug.cgi?id=2118
Summary: inproper assignment HeapRealloc result Product: Wine Version: 20040309 Platform: All OS/Version: All Status: UNCONFIRMED Severity: critical Priority: P1 Component: wine-net AssignedTo: wine-bugs@winehq.org ReportedBy: wjweiss@hotmail.com
At line 2023 of http.c the result of the HeapRealloc is not assigned back to lphttpHdr->lpszValue. If HeapRealloc moves the information to a new memory area, subsequent writes will be to deallocated memory and HeapFree of lphttpHdr->lpszValue is to the wrong memory area.