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

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

    • None
    • None
    • Patch, Rebase
    • rhel-sst-pt-libraries
    • ssg_platform_tools
    • 2
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Bug Fix
    • Hide
      Cause (the user action or circumstances that trigger the bug):
      Consequence (what the user experience is when the bug occurs):
      Fix (what has changed to fix the bug; do not include overly technical details):
      Result (what happens now that the patch is applied):
      Show
      Cause (the user action or circumstances that trigger the bug): Consequence (what the user experience is when the bug occurs): Fix (what has changed to fix the bug; do not include overly technical details): Result (what happens now that the patch is applied):
    • Proposed
    • 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: