[MTD-UTILS] BUG: ubiformat fails on big partitions (>4Gio)

Artem Bityutskiy dedekind1 at gmail.com
Tue Sep 25 10:05:50 EDT 2012


On Wed, 2012-09-12 at 16:37 +0200, Richard Genoud wrote:
> The offset (which is 64bits when mtd-utils are not compile with
> WITHOUT_LARGEFILE) is calculated like that:
> offset = nb * size;
> But nb and size are int, so on 32bits platforms, there's a possible
> overflow.

Pushed to mtd-utils.git, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120925/ad6b0ce3/attachment.sig>


More information about the linux-mtd mailing list