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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 15 19:21:32 PDT 2012


commit 11c31dd37634ab6ead36c9d3be598833454355f9
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/11c31dd37634ab6ead36c9d3be598833454355f9


-- 
DragonFly BSD source repository





More information about the Commits mailing list