mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-23 14:00:34 +00:00
![]() While it is possible for the return value from zfs_log2() to be zero (0), it is quite unlikely, given that the previous assignment to blksz is shifted up by SPA_MINBLOCKSHIFT (9) before 9 is subtracted at the assignment to epbs. But, while unlikely during a normal operation, it may be that a carefully crafted ZFS filesystem could result in a zero (0) value to the dn_datalbkszsec field, which means that the shift left does nothing and assigns zero (0) to blksz, resulting in a negative epbs value. Fixes: CID 73608 Signed-off-by: Darren Kenny <darren.kenny@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> |
||
---|---|---|
.. | ||
zfs_fletcher.c | ||
zfs_lz4.c | ||
zfs_lzjb.c | ||
zfs_sha256.c | ||
zfs.c | ||
zfscrypt.c | ||
zfsinfo.c |