xrandr: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 26 17:27:10 UTC 2023


 xrandr.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 71ab94418ead8f59c6124e8b3e53f8df7340f095
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Mon Sep 18 14:06:41 2023 -0700

    set_gamma_info: remove unnecessary round-trip to server
    
    XRRGetCrtcGamma() returns the exact same size information as
    XRRGetCrtcGammaSize(), so just use it instead of waiting for
    the X server to send it an extra time.
    
    (And if something has gone very wrong so that they aren't the same,
     this avoids out-of-bounds reads processing the returned gamma arrays
     by using the size of the arrays we allocated.)
    
    Reported-by: Gregory James DUCK <gjduck at gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list