[Webkit-unassigned] [Bug 223896] UBSan: JSC::Parser<LexerType>::parseProperty(): runtime error: load of value nnn, which is not a valid value for type 'bool'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 29 13:26:39 PDT 2021


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

--- Comment #1 from David Kilzer (:ddkilzer) <ddkilzer at webkit.org> ---
The line of code with the undefined behavior is:

    [...]
    case STRING: {
namedProperty:
        const Identifier* ident = m_token.m_data.ident;
        bool escaped = m_token.m_data.escaped;  // UBSan runtime error.
    [...]

I have been unable to find the place where `ident` is set but not `escaped` using some basic text searches in the JavaScriptCore project.  (I'm not really familiar with the parser code.)

-- 
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/20210329/619aa5bb/attachment-0001.htm>


More information about the webkit-unassigned mailing list