xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 26 19:00:33 UTC 2025


 randr/rrcrtc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ca5aaba500a4791b91f8237cbd74709331f8676
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Wed Feb 26 19:01:53 2025 +0100

    randr: fix RRGetCrtcTransform reply length
    
    Reply length field missed to add the payload's size.
    
    Fixes: c6f1b8a735d3c6ba80ca552b79e2dbe8a358ff40
    Issue: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1797
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1844>

diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 4eaded726..cbdc74e4d 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -1831,7 +1831,7 @@ ProcRRGetCrtcTransform(ClientPtr client)
     xRRGetCrtcTransformReply rep = {
         .type = X_Reply,
         .sequenceNumber = client->sequence,
-        .length = bytes_to_int32(sizeof(xRRGetCrtcTransformReply) - sizeof(xReq)),
+        .length = bytes_to_int32(sizeof(xRRGetCrtcTransformReply) - sizeof(xReq) + nextra),
         .hasTransforms = crtc->transforms,
     };
 


More information about the xorg-commit mailing list