bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] out-of-bounds write with cpio -i


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] out-of-bounds write with cpio -i
Date: Mon, 01 Dec 2014 21:15:59 +0200

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

[Prev in Thread] Current Thread [Next in Thread]