summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Steven Supancic III <arrummzen@arrummzen.net>2006-07-13 10:03:57 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-07-13 10:03:57 -0400
commit4c225a3a8b2e7e5e5510347d8473f1318bbac769 (patch)
treeb9207c1d5d24f6cbc5c420cb207627deb1b6ce8d
parentbb3aa94845a74d7718ba9539bb76203ec82957fc (diff)
Bug #7482: Fix Xdmx's Render code to match reality; fixes BadLength client
crashes.
-rw-r--r--hw/dmx/dmxpict.c2
1 files changed, 1 insertions, 1 deletions
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);