Malloc the superblock buffer to make sure that it is properly aligned.
authornaddy <naddy@openbsd.org>
Sun, 4 Jun 2017 13:57:29 +0000 (13:57 +0000)
committernaddy <naddy@openbsd.org>
Sun, 4 Jun 2017 13:57:29 +0000 (13:57 +0000)
commit75cc614ca89c3624ca27bc09c5ee509fff350726
tree79b2c52d353e24828d42138571e8b7fa28f0e26d
parent9d82916888b6b97b2c0b0749512fcf0c3b9bff46
Malloc the superblock buffer to make sure that it is properly aligned.
On i386, clang puts the char array at an odd address in .bss.
ok deraadt@
usr.sbin/installboot/i386_installboot.c