Hi Florian,

> off_t is signed, so you need to check for out-of-bounds values before
> adding 1 (because signed overflow is undefined), and you also have to
> guard against negative values.

Good point, thanks for noticing.  I fixed this.

Regards,
Sergey

Reply via email to