git: kernel - Fix overflows in vm_zone.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 9 02:25:20 PST 2011


commit 7e72902dd15def82ff1b6f3d5e1805c6fb3b43e7
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list