[Webkit-unassigned] [Bug 189022] New: [WHLSL] ParseTypeArguments calls parseExpression()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 16:05:20 PDT 2018


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

            Bug ID: 189022
           Summary: [WHLSL] ParseTypeArguments calls parseExpression()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com

It calls parseConstexpr(), which calls parseTerm(), which calls parseExpression(). We don't want to allow things like

int x = 2;
vector<float, (x + 1)> v;

We need to either change how the parser works, or add validation that typeArguments can only be certain things.

-- 
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/20180827/76e779c0/attachment.html>


More information about the webkit-unassigned mailing list