DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Mar 2012 19:21:32 -0700 (PDT)

commit 11c31dd37634ab6ead36c9d3be598833454355f9
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]