Bug #13765: Heap corruption in XC-SECURITY extension code.
This commit is contained in:
		
							parent
							
								
									e46d559739
								
							
						
					
					
						commit
						cd0603c2dc
					
				| 
						 | 
				
			
			@ -448,7 +448,7 @@ XaceCensorImage(client, pVisibleRegion, widthBytesLine, pDraw, x, y, w, h,
 | 
			
		|||
 | 
			
		||||
	/* convert region to list-of-rectangles for PolyFillRect */
 | 
			
		||||
 | 
			
		||||
	pRects = (xRectangle *)xalloc(nRects * sizeof(xRectangle *));
 | 
			
		||||
	pRects = (xRectangle *)xalloc(nRects * sizeof(xRectangle));
 | 
			
		||||
	if (!pRects)
 | 
			
		||||
	{
 | 
			
		||||
	    failed = TRUE;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue