postgresql/src
Melanie Plageman 94bb6c4410 Fix overflow danger in SampleHeapTupleVisible(), take 2
28328ec87b addressed one overflow danger in
SampleHeapTupleVisible() but introduced another, albeit a less likely
one. Modify the binary search code to remove this danger.

Reported-by: Richard Guo
Reviewed-by: Richard Guo, Ranier Vilela
Discussion: https://postgr.es/m/CAMbWs4_bE%2BNscChbKWzw6HZOipCUyXfA5133qvoXQ654D3B2gQ%40mail.gmail.com
2024-12-20 09:43:44 -05:00
..
backend Fix overflow danger in SampleHeapTupleVisible(), take 2 2024-12-20 09:43:44 -05:00
bin psql: Add more information about service name 2024-12-18 15:16:12 +09:00
common Fix outdated comment of scram_build_secret() 2024-12-10 12:54:09 +09:00
fe_utils Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
include Fix corruption when relation truncation fails. 2024-12-20 23:57:02 +13:00
interfaces libpq: Add service name to PGconn and PQservice() 2024-12-18 14:53:42 +09:00
makefiles Use __attribute__((target(...))) for AVX-512 support. 2024-11-07 13:58:43 -06:00
pl Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00
port Fix elog(FATAL) before PostmasterMain() or just after fork(). 2024-12-10 13:51:59 -08:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Remove pg_attribute.attcacheoff column 2024-12-20 23:22:37 +13:00
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:49:38 -04:00
tools Introduce CompactAttribute array in TupleDesc, take 2 2024-12-20 22:31:26 +13:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00