mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 20:40:04 +01:00
add missing null-pointer checks
This commit is contained in:
parent
4d0f35c81d
commit
181468db92
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ SafeAlphaComposite (CARD8 op,
|
|||
pDst->format = PICT_a8r8g8b8;
|
||||
}
|
||||
|
||||
if (pSrc->pDrawable && pMask->pDrawable &&
|
||||
if (pSrc && pMask && pSrc->pDrawable && pMask->pDrawable &&
|
||||
!pSrc->transform && !pMask->transform &&
|
||||
!pSrc->alphaMap && !pMask->alphaMap &&
|
||||
!pMask->repeat && !pMask->componentAlpha && !pDst->alphaMap &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue