Make sisRegs3D4 big enough to hold all values written to it

Increase size from 0xff to 0x100 since SiS315Save (sis_dac.c line 752)
writes values into sisRegs3D4[0x00..0xff] if ChipType >= XGI_20

[This bug was found by the Parfait bug checking tool.
 For more information see http://research.sun.com/projects/parfait ]

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
Alan Coopersmith
2009-05-01 16:52:10 -07:00
parent 5583c2342d
commit 49c641b638

View File

@@ -747,7 +747,7 @@ typedef struct {
UChar sisRegsGR[10];
UChar sisDAC[768];
UChar sisRegs3C4[0x80];
UChar sisRegs3D4[0xff];
UChar sisRegs3D4[0x100];
UChar sisRegs3C2;
UChar sisCapt[0x60];
UChar sisVid[0x50];