mirror of
https://git.proxmox.com/git/mirror_zfs
synced 2025-10-24 18:12:09 +00:00
In P2ALIGN, the result would be incorrect when align is unsigned integer and x is larger than max value of the type of align. In that case, -(align) would be a positive integer, which means high bits would be zero and finally stay zero after '&' when align is converted to a larger integer type. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Youzhong Yang <yyang@mathworks.com> Signed-off-by: Qiuhao Chen <chenqiuhao1997@gmail.com> Closes #15940 |
||
|---|---|---|
| .. | ||
| cityhash.c | ||
| zfeature_common.c | ||
| zfs_comutil.c | ||
| zfs_deleg.c | ||
| zfs_fletcher_aarch64_neon.c | ||
| zfs_fletcher_avx512.c | ||
| zfs_fletcher_intel.c | ||
| zfs_fletcher_sse.c | ||
| zfs_fletcher_superscalar4.c | ||
| zfs_fletcher_superscalar.c | ||
| zfs_fletcher.c | ||
| zfs_namecheck.c | ||
| zfs_prop.c | ||
| zpool_prop.c | ||
| zprop_common.c | ||