d2bd4ba305
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
|
||
---|---|---|
.. | ||
Makefile | ||
logtape.c | ||
qsort_interruptible.c | ||
sharedtuplestore.c | ||
sortsupport.c | ||
tuplesort.c | ||
tuplestore.c |