Re: glibc qsort() vulnerability - Mailing list pgsql-hackers

From Tom Lane
Subject Re: glibc qsort() vulnerability
Date
Msg-id 508821.1707232276@sss.pgh.pa.us
Whole thread Raw
In response to glibc qsort() vulnerability  (Mats Kindahl <mats@timescale.com>)
Responses Re: glibc qsort() vulnerability
Re: glibc qsort() vulnerability
List pgsql-hackers
Mats Kindahl <mats@timescale.com> writes:
> There is a bug in glibc's qsort() algorithm that runs the risk of creating
> an out-of-bounds error if the comparison function is not transitive, for
> example, if subtraction is used so that it can create an overflow.

We don't use glibc's qsort.  Have you checked whether there's a
problem with the code we do use?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why is subscription/t/031_column_list.pl failing so much?
Next
From: Tom Lane
Date:
Subject: Re: clarify equalTupleDescs()