Replace calls to pg_qsort() with the qsort() macro.
Nathan Bossart <nathan@postgresql.org>
Replace calls to pg_qsort() with the qsort() macro. Calls to this function might give the impression that pg_qsort() is somehow different than qsort(), when in fact there is a qsort() macro in port.h that expands all in-tree uses to pg_qsort(). Reviewed-by: Mats Kindahl Discussion: https://postgr.es/m/CA%2B14426g2Wa9QuUpmakwPxXFWG_1FaY0AsApkvcTBy-YfS6uaw%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_prewarm/autoprewarm.c | modified | +2 −2 |
| src/backend/access/brin/brin_minmax_multi.c | modified | +1 −1 |
| src/backend/optimizer/plan/analyzejoins.c | modified | +2 −2 |
| src/backend/storage/buffer/bufmgr.c | modified | +2 −2 |
| src/backend/utils/cache/syscache.c | modified | +5 −5 |
| src/include/port.h | modified | +4 −0 |
Discussion
- glibc qsort() vulnerability 61 messages · 2024-02-06 → 2024-02-17