Hi,

nFreeBlocks stores the number of free blocks and
your type is *long*.

At Function ltsGetFreeBlock is locally stored in
heapsize wich type is *int*

With Windows both *long* and *int* are 4 bytes.
But with Linux *long* is 8 bytes and *int* are 4 bytes.

patch attached.

best regards,
Ranier Vilela

Attachment: 0001-Avoid-possible-overflow-with-ltsGetFreeBlock-functio.patch
Description: Binary data

Reply via email to