[Webkit-unassigned] [Bug 32963] [WIN] buildfix for ResourceHandleWin.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 27 10:45:00 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32963





--- Comment #3 from Patrick R. Gansterer <paroga at paroga.com>  2009-12-27 10:44:59 PST ---
In line 188 of ResourceHandleWin.cpp:
> const CString& headersLatin1 = headers.latin1();
> String formData = request().httpBody()->flattenToString();
> INTERNET_BUFFERSA buffers;
> memset(&buffers, 0, sizeof(buffers));
> buffers.dwStructSize = sizeof(INTERNET_BUFFERSA);
> buffers.lpcszHeader = headersLatin1.data();
> buffers.dwHeadersLength = headers.length();
> buffers.dwBufferTotal = formData.length();

- headers.latin1() returns a value and not a reference.
- buffers uses headersLatin1.data() but not headersLatin1.length().
- same problems across the file
Isn't that wrong?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list