Skip to contentSkip to conversation

bttv: correct bttv_risc_packed buffer size

PATCH Bodo Eggert 2 participants 2 messages Jan 25, 2006 – Jan 26, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Duncan Sands

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?

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
#2 lore raw

Hi Bodo,

Quoted 8 lines
Quoted 3 lines

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.