• Show log

    Commit

  • Hash : 438dbcf1
    Author : Jamie Madill
    Date : 2016-06-17T14:20:05

    translator: Fix builtin function emulator use-after-free.
    
    We were calling the global pool allocator in the builtin function
    emulator, which would lead to us freeing TTypes that were still
    referenced. Fix this by using the TCache which was designed for
    such a purpose, and locking the allocator around the builtin
    function emulator to try and prevent similar bugs from creeping
    in.
    
    Eventually we would like to get rid of the global allocator and
    replace it with different pools in different contexts, which are
    managed more safely.
    
    BUG=620937
    
    Change-Id: If501ff6ea4d9bf8a2b8f89f2c94a01386f79ee3a
    Reviewed-on: https://chromium-review.googlesource.com/353671
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: Corentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags