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 <[EMAIL PROTECTED]>
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