libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jul 20 16:10:05 UTC 2024


 src/xlibi18n/lcFile.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 39d57cbeda627115f7e8bd305b6cbd9df1daa007
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 13 10:14:02 2024 -0700

    xlibi18n/lcFile.c: avoid use of possibly-NULL pointer with strcpy
    
    Fixes gcc warnings:
    lcFile.c: In function ‘_XlcLocaleLibDirName’:
    lcFile.c:708:5: warning: use of possibly-NULL ‘last_dir_name’ where
     non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]
      708 |     strcpy (last_dir_name, dir_name);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/258>



More information about the xorg-commit mailing list