boot - Fix overflow in CD I/O code
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Mar 2012 00:36:02 +0000 (17:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Mar 2012 02:21:29 +0000 (19:21 -0700)
commit11c31dd37634ab6ead36c9d3be598833454355f9
treeeba2f12b200a5df0af1e14baf6921c61c7ab4596
parent2a8d2fe71cd842aa2fb196f33cc07034fb36d3c5
boot - Fix overflow in CD I/O code

* Fix an overflow in cdb2devb():
from ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
to   ((bno) * (ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE))

* Adjust several fields from signed -> unsigned
lib/libstand/cd9660.c