Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
libX11
libX11
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 94
    • Issues 94
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • xorg
  • lib
  • libX11libX11
  • Issues
  • #44

Closed
Open
Opened Sep 28, 2015 by Bugzilla Migration User@bugzilla-migration

(libX11-1.6.3) Using Uninitialized of object member variable when calling _XColor_to_XcmsRGB

Submitted by Bhavi Dhingra

Assigned to Xorg Project Team

Link to original bug (#92154)

Description

Created attachment 118472 This patch contains the fix for the bug.

In libX11/src/xcms/cmsLkCol.c, Line #171 & #172, _XColor_to_XcmsRGB is called with uninitialized variables passed as arguments. The value of the arguments are read in the definition of _XColor_to_XcmsRGB and assigned to another object's member variable.

Hence, initializing it with NULL is necessary.

Attachment 118472, "This patch contains the fix for the bug.":
cmsLkCol.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/lib/libx11#44