git: boot - Fix overflow in CD I/O code

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 15 17:40:45 PDT 2012


commit f98f9959398c038a85dfc349e9a2e91530acdcd8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Mar 15 17:36:02 2012 -0700

    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

Summary of changes:
 lib/libstand/cd9660.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f98f9959398c038a85dfc349e9a2e91530acdcd8


-- 
DragonFly BSD source repository





More information about the Commits mailing list