to uint64_t to prevent overflow.
(grub_diskfilter_lv): Increase start_extent and extent_count
to uint64_t to prevent overflow.
+2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/diskfilter.h (grub_diskfilter_vg): Increase extent_size
+ to uint64_t to prevent overflow.
+ (grub_diskfilter_lv): Increase start_extent and extent_count
+ to uint64_t to prevent overflow.
+
2012-04-01 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Increase version.
grub_size_t uuid_len;
/* Optional. */
char *name;
- int extent_size;
+ grub_uint64_t extent_size;
struct grub_diskfilter_pv *pvs;
struct grub_diskfilter_lv *lvs;
struct grub_diskfilter_vg *next;
};
struct grub_diskfilter_segment {
- unsigned int start_extent;
- unsigned int extent_count;
+ grub_uint64_t start_extent;
+ grub_uint64_t extent_count;
enum
{
GRUB_DISKFILTER_STRIPED = 0,