[Mesa-dev] [Bug 108012] Compiler crashes on access of non-existent member incremental operations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 21 13:02:41 UTC 2018


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

            Bug ID: 108012
           Summary: Compiler crashes on access of non-existent member
                    incremental operations
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: kevin.rogovin at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 141673
  --> https://bugs.freedesktop.org/attachment.cgi?id=141673&action=edit
Compiler crashes on incremental of non-existent struct members

Compiler crashes on incremental of non-existent struct members, for example
having in GLSL code:

some_struct.foo += 5;

if the type which some_struct is does not contain the member foo. It appears
that most (if not all) incremental operator cause a crash in Mesa regardless of
the RHS type. All that is needed is that the member of the struct does not
exist for Mesa to crash.

Crash appeared on current master (git-ab80889e92) and also on Ubuntu 18.04 Mesa
(18.0.5) and likely has been in Mesa for quite some time.

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


More information about the mesa-dev mailing list