https://bugs.kde.org/show_bug.cgi?id=478481

            Bug ID: 478481
           Summary: DrmPipeline::setCursorLegacy inappropriate invoke of
                    DRM_IOCTL_MODE_CURSOR2
    Classification: Plasma
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

DrmPipeline::setCursorLegacy will only acquire a handle under some conditions,
but will use that handle in a call to DRM_IOCTL_MODE_CURSOR2 unconditionally
(with a fixed, bad handle value of zero).

This is evident from code inspection, but can be diagnosed from logging / error
checking once that it is added to the implementation.

OBSERVED RESULT

With error logging added to the implementation, EINVAL.

EXPECTED RESULT

No logging.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to