From 4c225a3a8b2e7e5e5510347d8473f1318bbac769 Mon Sep 17 00:00:00 2001 From: James Steven Supancic III Date: Thu, 13 Jul 2006 10:03:57 -0400 Subject: [PATCH] Bug #7482: Fix Xdmx's Render code to match reality; fixes BadLength client crashes. --- hw/dmx/dmxpict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/dmx/dmxpict.c b/hw/dmx/dmxpict.c index 9a76a6696..9cdd123b9 100644 --- a/hw/dmx/dmxpict.c +++ b/hw/dmx/dmxpict.c @@ -662,7 +662,7 @@ static int dmxProcRenderSetPictureFilter(ClientPtr client) int nparams; REQUEST(xRenderSetPictureFilterReq); - REQUEST_SIZE_MATCH(xRenderSetPictureFilterReq); + REQUEST_AT_LEAST_SIZE(xRenderSetPictureFilterReq); VERIFY_PICTURE(pPicture, stuff->picture, client, SecurityWriteAccess, RenderErrBase + BadPicture);