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
  • libANGLE
  • renderer
  • vulkan
  • ContextVk.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Vulkan: Fix accessing index buffer with uninitialized memory · 4fbb6f43
    Alexis Hetu authored Jun 14, 2021
    This was discovered by Clusterfuzz on MacOS. The issue was
    that is index buffer of a draw indexed call was missing,
    causing SwiftShader to access uninitialized memory, leading
    to the ASAN crash. The missing index buffer was caused by
    DIRTY_BIT_INDEX_BUFFER not being set. This was in turn
    caused by ContextVk::flushDirtyGraphicsRenderPass() not
    setting dirty bits not included in the dirtyBitMask,
    despite needing to be set for future processing.
    
    Bug: chromium:1183068
    Bug: chromium:1190493
    Change-Id: I65b398d8737b3df5fd51a03a2c8074a774a94a81
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2961690Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    4fbb6f43
ContextVk.cpp 246 KB
EditWeb IDE
×

Replace ContextVk.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.