diff options
author | Martin Poole <mpoole@redhat.com> | 2010-05-05 18:24:22 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-05 18:24:22 +0200 |
commit | 31d0a1a21631a716736fc6998c0f730230ec1b99 (patch) | |
tree | d80157ee5dde4dcec99a710fb02c7b9a52f19639 /gnulib | |
parent | 4af29e02aab03cb80df7db5b09cc2eddab2249e2 (diff) | |
download | parted-31d0a1a21631a716736fc6998c0f730230ec1b99.tar.gz |
ext2: don't overflow when creating a partition of size 2TiB or larger
Without this patch, mkpartfs would succeed in creating an ext2
partition, but the resulting partition would fail a mkfs.ext2 -f check.
* libparted/fs/ext2/parted_io.c (do_read): Avoid overflow 32-bit
sector count overflow for a partition of size 2TiB or larger.
(do_write): Likewise.
See http://bugzilla.redhat.com/584057#c16 a reproducer.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions