Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4168

_gdk_windowing_window_at_pointer does not handle XQueryPointer() errors correctly

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-7.9.z
    • gtk2
    • None
    • Moderate
    • rhel-display-desktop-foundation
    • ssg_display
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:

      Customer reports that when running on certain hardware, a call to XQueryPointer
      returns a child window that is then used as the target window in another call
      to XQueryPointer and on this call the X Server returns Bad Window: the error
      status is not checked and a pass by reference argument is used that has not
      been set resulting in the query being repeated infinitely for the same bad
      window.

      Version-Release number of selected component (if applicable):

      RHEL 7.9
      gtk2-2.24.31-1.el7.x86_64

      How reproducible:

      Unable to reproduce locally but customer claims it happens frequently. They
      suspect different PC hardware is affecting the timing of the interaction between
      the X client and the X server.

      Steps to Reproduce:

      N.A.

      Actual results:

      In certain circumstances and on certain hardware it leads customer application
      to crash.

      Expected results:

      No crash

      Additional info:

      The problem does happen after applying the attached patch.

      Customer has been informed that that RHEL 7 is in Maintenance Phase 2, so only
      Critical and Important bugs are fixed.

      Providing a package with the fix under a support exception would not work
      because the software that requires the patch is distributed to third-parties.

              mclasen@redhat.com Matthias Clasen
              rhn-support-casantos Carlos Santos
              Matthias Clasen Matthias Clasen
              Desktop QE Desktop QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: