libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 18 22:52:05 UTC 2020


 modules/im/ximcp/imTrX.c   |    1 +
 modules/im/ximcp/imTrans.c |    1 +
 src/Context.c              |    1 +
 src/IntAtom.c              |    1 +
 src/KeyBind.c              |    1 +
 src/RegstFlt.c             |    1 +
 src/XlibInt.c              |    3 +--
 src/locking.c              |    1 +
 src/xcb_disp.c             |    1 +
 src/xkb/XKBUse.c           |    1 +
 src/xlibi18n/XimProto.h    |    4 ++--
 src/xlibi18n/lcGeneric.c   |    8 +++++++-
 12 files changed, 19 insertions(+), 5 deletions(-)

New commits:
commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Oct 31 09:24:01 2020 -0700

    Don't leave dangling pointers in Free functions
    
    While these are mostly called during teardown of larger structures
    that are about to themselves be freed, there's no guarantee that
    will always be the case, so try to be safer here.
    
    [ This bug was found by the Parfait 4.0 bug checking tool.
      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
    
    v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies
        as suggested by @keithp
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7d70e302218e2ec8518548ddcdc02d828e7889af
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Oct 31 08:56:34 2020 -0700

    XimProto.h: wrap XIM_HEADER_SIZE definition in parens
    
    Resolves parfait warning of potential macro misinterpretation if
    expanded in the midst of other arithmetic operations with higher
    precedence.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list