Re: [patch] slob: fix memory corruption

From: Ingo Molnar
Date: Thu Nov 15 2007 - 07:49:31 EST



> From: Nick Piggin <npiggin@xxxxxxx>

> - if (free_slob_pages.next != prev->next)
> + if (prev != free_slob_pages.prev &&
> + free_slob_pages.next != prev->next)
> list_move_tail(&free_slob_pages, prev->next);

btw., exactly how did you find this bug? User-space simulation of SLOB?

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/