libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Feb 14 18:57:41 UTC 2022


 modules/im/ximcp/imDefLkup.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7
Author: Benno Schulenberg <bensberg at telfort.nl>
Date:   Mon Feb 14 11:33:25 2022 +0100

    imDefLkup: verify that a pointer isn't NULL before using it
    
    It is possible for _XimICOfXICID() to return NULL, so it is necessary
    to check this isn't actually the case before dereferencing the pointer.
    All other callers of _XimICOfXICID() do this check too.
    
    (The check itself is ugly, but it follows the style of the code in the
    rest of the module.)
    
    Fixes issue #45.
    
    Reported-by: Bhavi Dhingra
    
    Original-patch-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg at telfort.nl>



More information about the xorg-commit mailing list