[Bug 30146] Xmlhttp sample app doesn't work anymore

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 12 01:57:43 CDT 2012


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

--- Comment #1 from Nikolay Sivov <bunglehead at gmail.com> 2012-03-12 01:57:43 CDT ---
Regression test looks right actually, the problem seems to be in custom verb
part:

---
    size = FIELD_OFFSET(BINDINFO, szCustomVerb)+sizeof(void*);
    if(pcbiSrc->cbSize>=size && pcbiDest->cbSize>=size &&
pcbiSrc->szCustomVerb) {
        size = (strlenW(pcbiSrc->szCustomVerb)+1)*sizeof(WCHAR);
        pcbiDest->szCustomVerb = CoTaskMemAlloc(size);
        if(!pcbiDest->szCustomVerb) {
            CoTaskMemFree(pcbiDest->szExtraInfo);
            ReleaseStgMedium(&pcbiDest->stgmedData);
            return E_OUTOFMEMORY;
        }
    }
---

it's never copied here, it worked before cause it was just a pointer copy.

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