]> git.proxmox.com Git - grub2.git/commit
zfs: fix integer truncation in zap_lookup
authorAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 14 May 2015 04:50:33 +0000 (07:50 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 14 May 2015 04:50:33 +0000 (07:50 +0300)
commit5370dcfdae66b60cff3507ad925300a679fe4117
tree345fb27c406b4961cdaa18ee62c9a180897b4d15
parent5082ea618439fe59956d071777be0c9c74fbbcf5
zfs: fix integer truncation in zap_lookup

Size after shift could exceed 16 bits; use grub_unit32_t for result.

Reported and tested by: Kostya Berger <bergerkos@yahoo.co.uk>
Closes: 44448
grub-core/fs/zfs/zfs.c