[Mesa-dev] [Bug 108636] test_optpass has use after free bug, failing with memory testing tools like address sanitizer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 12 05:54:37 UTC 2018


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

Tapani Pälli <lemody at gmail.com> changed:

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

--- Comment #4 from Tapani Pälli <lemody at gmail.com> ---
--- 8< ---
commit 8dc2085baf954e7d52159797fe3051a554df3f6d
Author: Hanno Böck <hanno at hboeck.de>
Date:   Wed Nov 7 09:01:42 2018 +0100

    glsl/test: Fix use after free in test_optpass.

    The variable state is free'd and afterwards state->error is used
    as the return value, resulting in a use after free bug detected
    by memory safety tools like address sanitizer.

    Signed-off-by: Hanno Böck <hanno at hboeck.de>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108636
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

-- 
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/20181112/63145663/attachment-0001.html>


More information about the mesa-dev mailing list