Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 934
    • Issues 934
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge requests
  • !201

Merged
Created May 20, 2019 by Karol Herbst@karolherbst🐧

glamor: pixmap FBO may not be allocated (cherry-pick to 1.20)

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

If _glamor_create_tex() fails to allocate the FBO because of GL_OUT_OF_MEMORY error, the pixmap_priv->fbo is NULL.

However, glamor_get_pixmap_texture() doesn't actually check whether the pixmap_priv->fbo is NULL and will segfault with a NULL pointer dereference trying to access the pixmap_priv->fbo->tex.

Signed-off-by: Olivier Fourdan ofourdan@redhat.com Closes: #647 (closed) (Cherry picked from commit 74479a99)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: server-1.20-branch