exa: exaFinishAccess: Overrun of static array "pExaScr->access" of size 6 at position 6 with index variable "i"
Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
		
							parent
							
								
									67a8c659f2
								
							
						
					
					
						commit
						d9ee31ab05
					
				| 
						 | 
				
			
			@ -417,8 +417,8 @@ exaFinishAccess(DrawablePtr pDrawable, int index)
 | 
			
		|||
 | 
			
		||||
    /* Catch unbalanced Prepare/FinishAccess calls. */
 | 
			
		||||
    if (i == EXA_NUM_PREPARE_INDICES)
 | 
			
		||||
	EXA_FatalErrorDebug(("EXA bug: FinishAccess called without PrepareAccess for pixmap 0x%p.\n",
 | 
			
		||||
			     pPixmap));
 | 
			
		||||
      EXA_FatalErrorDebugWithRet(("EXA bug: FinishAccess called without PrepareAccess for pixmap 0x%p.\n",
 | 
			
		||||
				  pPixmap),);
 | 
			
		||||
 | 
			
		||||
    pExaScr->access[i].pixmap = NULL;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue