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

glibc: Rebase qsort to 2.39 upstream version [rhel-9.5.0]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.4
    • glibc
    • None
    • sst_pt_libraries
    • ssg_platform_tools
    • 2
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Release Note Not Required
    • All
    • None

      The upstream implementation of qsort and qsort_r improves hardening against buggy comparison functions, on the code path taken after a malloc failure.

      We should consider backporting this change into Red Hat Enterprise Linux 9.

      Changes from 2.39 at least up to and including this commit should be included:

      commit dfa3394a605c8f6f25e4f827789bc89eca1d206c
      Author: Xi Ruoyao <xry111@xry111.site>
      Date:   Tue Jan 23 04:29:18 2024 +0800
      
          qsort: Fix a typo causing unnecessary malloc/free (BZ 31276)
      

            ashankar@redhat.com Arjun Shankar
            fweimer@redhat.com Florian Weimer
            Platform Tools - Libraries Bot Platform Tools - Libraries Bot
            Sergey Kolosov Sergey Kolosov
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: