drivers/video/radeonfb.c: fix an array overflow
PATCH 1/1 drivers/video/radeonfb.c: fix an array overflow
This patch fixes an array overflow found by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 27 Mar 2005
drivers/video/radeonfb.c renamed from drivers/video/radeonfb.c.old +1 -1
@@ -2107,7 +2107,7 @@ static void radeon_write_mode (struct raif (rinfo->arch ==RADEON_M6 ) { -for (i=0 ; i<8 ; i++) +for (i=0 ; i<7 ; i++)OUTREG (common_regs_m6[i].reg, common_regs_m6[i].val); }else {for (i=0 ; i<9 ; i++)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click