summaryrefslogtreecommitdiff
path: root/src/backend/executor/execPartition.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-10-28 14:07:38 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-10-28 14:07:57 +0200
commit22b914121ad898cd2f5f935240f9e1334479e25f (patch)
tree3b4b7823b496222086f9c19fef99ad6b67d1e9db /src/backend/executor/execPartition.c
parentbfd5c6e279c8e1702eea882439dc7ebdf4d4b3a5 (diff)
Fix overflow in bsearch_arg() with more than INT_MAX elements
This was introduced in commit bfa2cee784, which replaced the old bsearch_cmp() function we had in extended_stats.c with the current implementation. The original discussion or commit message of bfa2cee784 didn't mention where the new implementation came from, but based on some googling, I'm guessing *BSD or libiberty, all of which share this same code, with or without this fix. Author: Ranier Vilela Reviewed-by: Nathan Bossart Backpatch-through: 14 Discussion: https://www.postgresql.org/message-id/CAEudQAp34o_8u6sGSVraLwuMv9F7T9hyHpePXHmRaxR2Aboi%2Bw%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/execPartition.c')
0 files changed, 0 insertions, 0 deletions