xdm: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat May 7 00:36:17 UTC 2022


 chooser/chooser.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 0f46b67b45ef40854ad7924e836134bf3f920e09
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 30 11:59:31 2022 -0700

    chooser: avoid free of uninitialized pointer in allocation failure cleanup
    
    Resolves issue found by Oracle Parfait static analyzer:
    
    Error: Uninitialised memory
       Uninitialised memory [uninitialised-mem] (CWE 456):
          Possible access to uninitialised memory referenced by 'new->fullname'
          Memory 'new->fullname' accessed at byte offset '8'
            at line 357 of app/xdm/chooser/chooser.c in function 'AddHostname'.
            Write does not overlap at line 355
              new allocated at line 329
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list