diff options
author | 2013-11-05 08:55:58 +0000 | |
---|---|---|
committer | 2013-11-05 08:55:58 +0000 | |
commit | 571fcd44e3980bb94c90ac56a89bd06dcd7d927a (patch) | |
tree | 94dc8026b70b77fdce1ee513fed9a1a2d359ea8d /lib/libc | |
parent | Change an #if 0 surrounding a debug printf into a DPRINTF instead. (diff) | |
download | wireguard-openbsd-571fcd44e3980bb94c90ac56a89bd06dcd7d927a.tar.xz wireguard-openbsd-571fcd44e3980bb94c90ac56a89bd06dcd7d927a.zip |
Fix RAID levels 0, 4, 5, and 6 with partitions larger than 2TB.
A 64bit bit operation with the 32bit strip size could overflow and
result in ridiculously small volumes when using large partitions (eg.
4x 3TB in RAID 5 resulted in a ~2TB volume). It is fixed by casting
the strip size to an unsigned 64bit value.
ok tedu@ millert@ deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions