Re: [PATCH] dm-zoned: Fix overflow when converting zone ID to sectors

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

 



On Mon, 2017-07-03 at 15:44 +0900, Damien Le Moal wrote:
> A zone ID is a 32 bits unsigned int which can overflow when doing the
> bit shifts calculations in dmz_start_sect(). With a 256 MB zone size
> drive, the overflow happens for a zone ID >= 8192.

Does the data from this example apply to a sector size of 512 bytes only?
Should this be mentioned in the patch description?

Anyway,

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux