libX11: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 8 16:02:17 UTC 2024
modules/im/ximcp/imLcIc.c | 33 ++++++++++++++++++++-------------
modules/im/ximcp/imRm.c | 27 +++++++++++++++++++++------
2 files changed, 41 insertions(+), 19 deletions(-)
New commits:
commit dce614623e1f069d79d33a233305e0754fa2fd48
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 17:01:44 2024 +0100
_XimEncodeString:no need to check arg for Xfree()
Xfree() will happily ignore NULL, no need to check
commit 4f78b615806fa1cfe2bdcf3f7c868b8a00dede77
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 16:50:52 2024 +0100
Fix XCreateIC() memory leak (Part 2)
Direct leak of 12 byte(s) in 2 object(s) allocated from:
#0 0x7f4f25c3f7a7 in strdup (/usr/lib64/libasan.so.6+0x5c7a7)
#1 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:818
#2 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:807
#3 0x7f4f252d2f0f in _XimSetICValueData libX11-1.8.3/modules/im/ximcp/imRm.c:2912
#4 0x7f4f252b536a in _XimLocalCreateIC libX11-1.8.3/modules/im/ximcp/imLcIc.c:176
#5
0x7f4f251f0105 in XCreateIC libX11-1.8.3/src/xlibi18n/ICWrap.c:251
detected and fix by Patrick Lerda <patrick9876 at free.fr>
applied with adjustment, do changes when OOM (unlikely but good practise)
commit ed0b97e480d7d07c24719007273989b2eb3e4046
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 16:21:02 2024 +0100
_XimLocalDestroyIC:fix possible mem leak
Adapted:
Fix XCreateIC() memory leak by Patrick Lerda <patrick9876 at free.fr> Part 1
commit 07978634b8f4f7d9537c7f46ddcd48f2ab3efcb8
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 15:16:11 2024 +0100
_XimLocalCreateIC: get rid of bzero
commit 59c9a89e250d479334bdd4d800ca6cfa919b8fc3
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 15:09:49 2024 +0100
_XimLocalCreateIC: minor cleanup
minor cleanup, no code change
commit e5b14e59a16fa49c7e7af0acfc1e4311bebec536
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 13:35:28 2024 +0100
_XimLocalCreateIC:no need to check arg for Xfree()
Xfree() will happily ignore NULL, no need to check
commit e6310b5212f1dea184e1626ad5eeec167fcb41ac
Author: Walter Harms <wharms at bfs.de>
Date: Mon Jan 8 13:06:03 2024 +0100
_XimLocalDestroyIC: no need to check arg for Xfree()
Xfree() will happily ignore NULL, no need to check
More information about the xorg-commit
mailing list