cvs commit: src/sys/kern subr_alist.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 23 10:23:27 PDT 2008


dillon      2008/04/23 10:21:09 PDT

DragonFly src repository

  Modified files:
    sys/kern             subr_alist.c 
  Log:
  Fix two A-list corruption cases.
  
  When a meta-element indicates the next layer is all-allocated or all-free,
  the next layer is allowed to contain garbage.  The allocator must skip an
  all-allocated layer.
  
  Similarly when a free recurses through an all-allocated layer the next layer
  must be initialized so we can recurse down into it.
  
  Reported-by: Jonathan Lemon <jlemon at cisco.com>
  
  Revision  Changes    Path
  1.4       +23 -9     src/sys/kern/subr_alist.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_alist.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list