[Webkit-unassigned] [Bug 193271] New: [Win][WebKitLegacy] wchar_t strings shouldn't be treated as BSTR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 8 20:26:54 PST 2019


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

            Bug ID: 193271
           Summary: [Win][WebKitLegacy] wchar_t strings shouldn't be
                    treated as BSTR
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[Win][WebKitLegacy] wchar_t strings shouldn't be treated as BSTR

BSTR | Microsoft Docs
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/automat/bstr

> A BSTR is a composite data type that consists of a length prefix, a data string, and a terminator.

> The following code is incorrect:
> 
>   BSTR MyBstr = L"I am a happy BSTR";

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190109/c0e59acf/attachment.html>


More information about the webkit-unassigned mailing list