Re: [PATCH] bttv: correct bttv_risc_packed buffer size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux