[Mesa-dev] [Bug 100438] glsl/ir.cpp:1376: ir_dereference_variable::ir_dereference_variable(ir_variable*): Assertion `var != NULL' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 20 00:07:35 UTC 2017


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

Timothy Arceri <t_arceri at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Timothy Arceri <t_arceri at yahoo.com.au> ---
Fixed by:

Author: George Barrett <bob at bob131.so>
Date:   Sun Nov 19 21:55:10 2017 +1100

    glsl: Catch subscripted calls to undeclared subroutines

    generate_array_index fails to check whether the target of a subroutine
    call exists in the AST, potentially passing around null ir_rvalue
    pointers eventuating in abort/segfault.

    Fixes: fd01840c0bd3 ("glsl: add AoA support to subroutines")
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438

-- 
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/20171120/50b1b530/attachment.html>


More information about the mesa-dev mailing list