Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xf86-video-dummy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

Update #1:

Due to abusive users subverting our CI facilities to mine cryptocurrency, breaking out of the container sandbox in the process, we have been forced to take actions to limit the usage of the public runners to official projects only.

The policy will be enforced on 2023-03-23 (or before if we detect abuses).

Please see this issue for more context and to see if and how you are impacted.

  • xorgxorg
  • driver
  • xf86-video-dummy
  • Merge requests
  • !4

Avoid leaking pixel memory if DUMMYScreenInit fails

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alan Coopersmith requested to merge alanc/xf86-video-dummy:parfait into master Apr 20, 2022
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 2

Resolves issues reported by Oracle Parfait static analyzer:

Error: Memory leak
   Memory leak [memory-leak] (CWE 401):
      Memory leak of pointer pixels allocated with malloc((pScrn->videoRam * 1024))
        at line 803 of dummy_driver.c in function 'DUMMYScreenInit'.
          pixels allocated at line 790 with malloc((pScrn->videoRam * 1024))
   Memory leak [memory-leak] (CWE 401):
      Memory leak of pointer pixels allocated with malloc((pScrn->videoRam * 1024))
        at line 805 of dummy_driver.c in function 'DUMMYScreenInit'.
          pixels allocated at line 790 with malloc((pScrn->videoRam * 1024))
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: parfait