Re: [4KSTACK][2.6.6] Stack overflow in radeonfb
From: Valdis . Kletnieks
Date: Thu May 13 2004 - 10:39:05 EST
On Thu, 13 May 2004 17:15:49 +0200, =?iso-8859-1?Q?J=F6rn?= Engel said:
> Even quicker fix:
>
> --- linux-2.6/drivers/video/aty/radeon_base.c~ 2004-05-13 16:51:08.000
000000 +0200
> +++ linux-2.6/drivers/video/aty/radeon_base.c 2004-05-13 16:55:09.000000000 +
0200
> @@ -1397,7 +1397,7 @@
> {
> struct radeonfb_info *rinfo = info->par;
> struct fb_var_screeninfo *mode = &info->var;
> - struct radeon_regs newmode;
> + static struct radeon_regs newmode;
> int hTotal, vTotal, hSyncStart, hSyncEnd,
> hSyncPol, vSyncStart, vSyncEnd, vSyncPol, cSync;
> u8 hsync_adj_tab[] = {0, 0x12, 9, 9, 6, 5};
Is that racy if you have more than one graphics card installed?
Attachment:
pgp00000.pgp
Description: PGP signature