• Show log

    Commit

  • Hash : a3d384ad
    Author : Olli Etuaho
    Date : 2017-10-06T16:12:50

    Fix signed integer overflow in GLSL preprocessor left shift
    
    Signed integer overflow is undefined in C++, whereas unsigned integer
    overflow is not. Always cast left shift operand to unsigned to avoid
    UB.
    
    On common compilers, the behavior was already the same before this
    patch, so this patch is done mostly for the benefit of automated fuzz
    testing.
    
    BUG=chromium:743136
    TEST=angle_unittests
    
    Change-Id: I7aab939036bb19a37f258cef4297b560da3cd9d5
    Reviewed-on: https://chromium-review.googlesource.com/704659
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    

  • 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