• Show log

    Commit

  • Hash : f1cf5e63
    Author : Olli Etuaho
    Date : 2016-11-22T17:36:49

    Prevent stack overflow in macro expansion
    
    Add a configurable limit for how many nested MacroExpander objects can
    be created in the preprocessor, so that stack overflow can be
    prevented in case of malicious shaders. By default the limit is set to
    1000. In unit tests the limit is set lower to make the test run
    faster.
    
    Includes refactoring of most of the preprocessor tests so that they
    use utility functions provided by the test class instead of repeating
    the same code for initializing the preprocessor.
    
    BUG=angleproject:1600
    TEST=angle_unittests
    
    Change-Id: I23b5140d9f2dc52df96111650db63150f7238494
    Reviewed-on: https://chromium-review.googlesource.com/413986
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: Corentin Wallez <cwallez@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