libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Sep 30 18:40:58 UTC 2021


 include/X11/Xlibint.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Sun Sep 5 10:25:38 2021 +0300

    libX11: do not crash in GetResReq() macro
    
    When _XGetRequest() detects that requested length exceeds remaining display
    output buffer capacity it would return NULL. GetResReq() macro obtains "req"
    pointer from a call to _XGetRequest() and then proceeds to assign request id
    through "req" pointer which leads to NULL pointer dereference in this case.
    
    Fix this by checking if "req" is valid before assigning request id.
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>



More information about the xorg-commit mailing list