Re: [PATCH] Fix loop BIO breakage (memory corruption)

From: Jens Axboe (axboe@suse.de)
Date: Thu Jan 03 2002 - 03:48:32 EST


On Thu, Jan 03 2002, Zwane Mwaikambo wrote:
> Hi Jens,
> I've tracked down what seems to be a case of array out of bounds.
> Doing the following command "mount /dev/cdrom /cdrom -o loop" hard locks

[snip]

Thanks, good debugging. This bug has been there in 2.4 before, blush.
I've applied your patch.

> Patch tested with read/write losetup type mounts, plain file backed mounts
> and block backed mounts (these fail in ll_rw_blk:1365 BUG check now)

Oh? Care to look into this?

-- 
Jens Axboe

- 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 : Mon Jan 07 2002 - 21:00:20 EST