mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Duncan Sands <duncan.sands@math.u-psud.fr>
To: 7eggert@gmx.de
Cc: mchehab@brturbo.com.br, Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] bttv: correct bttv_risc_packed buffer size
Date: Thu, 26 Jan 2006 09:02:29 +0100	[thread overview]
Message-ID: <200601260902.30382.duncan.sands@math.u-psud.fr> (raw)
In-Reply-To: <E1F1pWq-0001d1-JH@be1.lrz>

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.

  reply	other threads:[~2006-01-26  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5yQ4M-7PJ-11@gated-at.bofh.it>
2006-01-25 18:37 ` Bodo Eggert
2006-01-26  8:02   ` Duncan Sands [this message]
2006-01-25 10:24 Duncan Sands

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601260902.30382.duncan.sands@math.u-psud.fr \
    --to=duncan.sands@math.u-psud.fr \
    --cc=7eggert@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@brturbo.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®