Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Merge requests
  • !610

vrend: silence false-positive use-of-uninitialized-value reported by fuzzer

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ryan Neph requested to merge ryanneph/virglrenderer:fix-uninit-value into master Sep 09, 2021
  • Overview 10
  • Commits 1
  • Pipelines 8
  • Changes 1

Fuzzer detected a Use-of-uninitialized-value in p_atomic_dec_zero(), which uses inline assembly on some platforms. MSAN's documentation claims unreliable results when instrumenting functions with inline assembly. In this case, unsigned char c is write-only and it's initial value isn't important, just disable MSAN for p_atomic_dec_zero().

Signed-off-by: Ryan Neph ryanneph@google.com

Edited Sep 23, 2021 by Ryan Neph
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-uninit-value