summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2013-11-05 08:55:58 +0000
committerreyk <reyk@openbsd.org>2013-11-05 08:55:58 +0000
commit571fcd44e3980bb94c90ac56a89bd06dcd7d927a (patch)
tree94dc8026b70b77fdce1ee513fed9a1a2d359ea8d /lib/libc
parentChange an #if 0 surrounding a debug printf into a DPRINTF instead. (diff)
downloadwireguard-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