Re: [4KSTACK][2.6.6] Stack overflow in radeonfb

From: Benjamin Herrenschmidt
Date: Fri May 14 2004 - 16:54:27 EST



> There are 2 arrays at the end of the struct:
>
> struct radeon_regs {
> ....
> u32 palette[256];
> u32 palette2[256];
> };
>
> they take 2KB alone and AFAICS they are not used anywhere. Maybe they
> can be removed?

They are the result of some work in progress on my side. I started
adding the entire card state to the structure, but never finished.

I'll probably go back on that when I find time though.

Ben.


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