mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 07:33:22 +02:00
nFreeBlocks, defined as a long, stores the number of free blocks in a
logical tape. ltsGetFreeBlock() has been using an int to store the
value of nFreeBlocks, which could lead to overflows on platforms where
long and int are not the same size (in short everything except Windows
where long is 4 bytes).
The problematic intermediate variable is switched to be a long instead
of an int.
Issue introduced by
|
||
---|---|---|
.. | ||
logtape.c | ||
Makefile | ||
meson.build | ||
qsort_interruptible.c | ||
sharedtuplestore.c | ||
sortsupport.c | ||
tuplesort.c | ||
tuplesortvariants.c | ||
tuplestore.c |