[Mesa-dev] [Bug 71575] New: Long expressions in shaders crash Mesa

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 13 05:04:16 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71575

          Priority: medium
            Bug ID: 71575
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Long expressions in shaders crash Mesa
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: kevin.rogovin at intel.com
          Hardware: Other
            Status: NEW
           Version: 9.1
         Component: Mesa core
           Product: Mesa

A long expression in a GLSL shader will crash Mesa, the crash occurs after
parsing in generating the HIR from the AST.

Attached is a vertex shader with such a long expression (10,000 add terms).

The bug issue is that although such a shader is not to be found in "real"
applications, a malicious website can use WebGL to crash Mesa which would
likely crash the browser.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131113/7f1e3598/attachment.html>


More information about the mesa-dev mailing list