On Fri, May 06, 2011 at 11:04:24AM +0200, Timo Warns wrote: > Validate that blocksize != 0 as a blocksize == 0 can cause > a division-by-zero error. Applied, thanks. > blocksize = be32_to_cpu(hfsplus->blocksize); > + if (blocksize == 0) > + return 0; according to kernel hfs+ driver it seems that the size should be at least 512 bytes. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html