• Show log

    Commit

  • Hash : 158ef351
    Author : Alexis Hetu
    Date : 2021-09-15T13:40:28

    Fix integer overflow in BlockLayoutEncoder
    
    BlockLayoutEncoder::mCurrentOffset's computation had the
    possibility of causing integer overflows in multiple places,
    so this CL adds CheckedNumeric variables in a number of
    these occurrences in order to prevent integer overflows and
    causing issues.
    
    The issue in this case was an integer overflow causing the
    code in ValidateTypeSizeLimitations.cpp to use an invalid
    result from "layoutEncoder.getCurrentOffset()", which ended
    up compiling a shader which would later cause an OOM error.
    
    Bug: chromium:1248665
    Change-Id: I688d669f21c6dc2957e43bdf91f8f8f08180a6f7
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3163356
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: Kenneth Russell <kbr@chromium.org>
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Commit-Queue: Alexis Hétu <sugoi@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
    kc3_lang_org www_kmx_io thodg_w thodg_l thodg thodg_m
    Tags