]> err.no Git - util-linux/commit
libblkid: prevent overflow in BeFS
authorJeroen Oortwijn <oortwijn@gmail.com>
Tue, 9 Mar 2010 22:15:30 +0000 (23:15 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Mar 2010 13:34:00 +0000 (14:34 +0100)
commitaf109b063aa15866a0570920586d79417d7a7a67
treea822eec2418f246bc1a5d43a6a4ce96c41eae23c
parent97a3cef4f1f18c30d662eda5cf072cc27825a55c
libblkid: prevent overflow in BeFS

Prevent overflow by casting values to blkid_loff_t before applying
block shift.

Signed-off-by: Jeroen Oortwijn <oortwijn@gmail.com>
shlibs/blkid/src/superblocks/befs.c