libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 13 23:56:57 UTC 2022


 src/xkb/XKBMisc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Apr 10 14:51:55 2022 -0700

    XkbUpdateKeyTypeVirtualMods: always initialize mask
    
    XkbVirtualModsToReal should only fail to set mask if the server does
    not support XKB, but it still made Oracle Parfait complain:
    
    Error: Uninitialised memory
       Uninitialised memory variable [uninitialised-mem-var] (CWE 457):
          Possible access to uninitialised memory referenced by variable 'mask'
            at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'.
            Path in callee avoiding write at line 862
              mask allocated at line 860
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list