Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • egl_tests
  • EGLBlobCacheTest.cpp
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Fix assignment of CacheOpResult::EnumCount · 1a8b7758
    Tim Van Patten authored Feb 11, 2020
    The special enum value 'EnumCount' is used by EnumSize() to determine
    how large to make the PackedEnumMap::mPrivateData array. However, that
    enum entry was being assigned an incorrect value, leading to the array
    being constructed too small and causing a crash in PackedEnumMap's
    std::initializer_list constructor when it went beyond the size of the
    array to assign each of the necessary values.
    
    The fix is to remove the assignment of CacheOpResult::EnumCount and let
    it indicate the real number of entries in the enum.
    
    Bug: angleproject:4393
    Test: end2end
    Change-Id: If9635c61e72aadc6527d416f83be18add8b24572
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2050026Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    1a8b7758
EGLBlobCacheTest.cpp 6.73 KB
EditWeb IDE
×

Replace EGLBlobCacheTest.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.