Re: [PATCH] bttv: correct bttv_risc_packed buffer size

From: Duncan Sands
Date: Thu Jan 26 2006 - 03:00:49 EST


Hi Bodo,

> > This patch fixes the strange crashes I was seeing after using
> > my bttv card to watch television. They were caused by a
> > buffer overflow in bttv_risc_packed.
>
> <snip>
>
> Would these errors e.g. cause a corruption of exactly four bytes at the start
> of random pages?

I don't think so. It should cause either no corruption or at least 8 bytes worth
(it does pairs of 4 byte writes). What you might see is an Oops when it tries to
write the first 4 bytes at the start of a page, because of a page fault, but then
the write doesn't happen and there is no corruption...

Best wishes,

Duncan.
-
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/