boostorg / interprocess

Boost.org interprocess module
http://boost.org/libs/interprocess
132 stars 117 forks source link

vectorstream: support file sizes larger than INT_MAX #191

Closed grrtrr closed 2 months ago

grrtrr commented 1 year ago

File sizes larger than INT_MAX cause segmentation faults, due to the use of pbump/gbump, which only support int increments.

Rewrite int-based offset adjustments to use streamoff offsets instead.

Fixes #190.

igaztanaga commented 2 months ago

Many thanks!