Hi,
On Mon, 17 Mar 2003 Andries.Brouwer@cwi.nl wrote:
> Mounting a non-affs filesystem as affs crashes the kernel.
> The reason is the
> sbi = kmalloc(sizeof(struct affs_sb_info), GFP_KERNEL);
> memset(sbi, 0, sizeof(*AFFS_SB));
> where the second sizeof is 1, so that sbi is not zeroed at all.
Thanks, I found this bug last weekend too. :)
(But it hasn't left the m68k repository yet.)
> The patch below also does a little random polishing nearby.
Could you please keep this separate?
bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:20 EST