• Andrew Morton's avatar
    [PATCH] slab poisoning fix · 237d5bd7
    Andrew Morton authored
    The slab debugging code is supposed to poison freshly-allocated obejcts with
    0x5a and freed ones with 0x6b, so we can distinguish use-uninitialised from
    use-after-free.
    
    It wasn't working right for recycled objects.  Fix.
    237d5bd7
slab.c 68.4 KB