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

crash in gtk_entry_drag_gesture_update

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-7.9
    • gtk3
    • None
    • gtk3-3.24.31-7.el9
    • None
    • Low
    • 5
    • rhel-display-desktop-foundation
    • ssg_display
    • 13
    • 18
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • DESKTOP Cycle #3 10.beta phase, DESKTOP Cycle #4 10.beta phase, DESKTOP Cycle #2 10.beta phase, Display - Sprint 3/2025, Display - Sprint 4/2025
    • All
    • None

      Could not reproduce the issue, that likely is specific to user environment.

      Problem should happen when in "find" option menu you write something and drag & drop and press space bar AT THE SAME TIME when you start to drag.

       4702              gtk_entry_get_pixel_ranges (entry, &ranges, &n_ranges);
      4703    
      4704              button = gtk_gesture_single_get_current_button (GTK_GESTURE_SINGLE (gesture));
      4705              gtk_drag_begin_with_coordinates (widget, target_list, actions,
      4706                                               button, (GdkEvent*) event,
      4707                                               priv->drag_start_x + ranges[0],
      4708                                               priv->drag_start_y);
      4709              g_free (ranges);

      (gdb) p n_ranges
      $1 = 0

        Since n_ranges is 0, it is perfectly valid for ranges to be NULL.

        A pseudo patch would be:

      4707                                               priv->drag_start_x + (n_ranges ? ranges[0] : 0),

              mclasen@redhat.com Matthias Clasen
              rhn-support-pandrade Paulo Andrade
              Matthias Clasen Matthias Clasen
              Radek Duda Radek Duda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: