[Bug 97422] trying to call a number as a function results into a crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 13 06:12:41 UTC 2016


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

Kenneth Graunke <kenneth at whitecape.org> changed:

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

--- Comment #6 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed by:

commit 151aecabe4be9d45627ef1f6ae6b8d732cea0c28
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Nov 12 11:55:30 2016 -0800

    glsl: Don't crash on function names with invalid identifiers.

    Karol Herbst's fuzzing efforts noticed that we would segfault on:

       void bug() {
          2(0);
       }

    We just need to bail if the function name isn't an identifier.

    Based on a bug fix by Karol Herbst.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97422
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20161113/79d8e44b/attachment.html>


More information about the intel-3d-bugs mailing list