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

git: kernel - Fix overflows in vm_zone.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Nov 2011 02:23:26 -0800 (PST)

commit 7e72902dd15def82ff1b6f3d5e1805c6fb3b43e7
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Nov 9 02:22:27 2011 -0800

    kernel - Fix overflows in vm_zone.c
    
    * Numerous fields have to be size_t or long and several calculations have
      to be cast to size_t.
    
    * Allows the pv_entry zalloc zone to exceed 2GB of KVM.

Summary of changes:
 sys/vm/vm_zone.c |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e72902dd15def82ff1b6f3d5e1805c6fb3b43e7


-- 
DragonFly BSD source repository



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