xorg-libx11/modules/im/ximcp
Walter Harms 4f78b61580 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@free.fr>
applied with adjustment, do changes when OOM (unlikely but good practise)
2024-01-08 16:50:52 +01:00
..
imCallbk.c Fix spelling/wording issues 2020-07-22 15:19:58 -07:00
imDefFlt.c XIM: remove Private and Public macros 2012-10-29 18:43:35 -05:00
imDefIc.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
imDefIm.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
imDefLkup.c imDefLkup: verify that a pointer isn't NULL before using it 2022-02-14 11:47:46 +01:00
imDispch.c Remove even more casts of return values from Xmalloc/Xrealloc 2013-08-20 12:51:09 -07:00
imEvToWire.c Purge macros NEED_EVENTS and NEED_REPLIES 2010-07-07 15:12:34 -07:00
imExten.c Get rid of some extraneous ; at the end of C source lines 2015-10-19 13:52:20 -04:00
imImSw.c XIM: remove Private and Public macros 2012-10-29 18:43:35 -05:00
imInsClbk.c fix a memory leak in XRegisterIMInstantiateCallback 2022-10-04 19:03:48 -04:00
imInt.c Remove more redundant null checks before Xfree() 2014-06-06 17:24:39 -07:00
imLcFlt.c Fix spelling/wording issues 2020-07-22 15:19:58 -07:00
imLcGIc.c XIM: remove Private and Public macros 2012-10-29 18:43:35 -05:00
imLcIc.c _XimLocalDestroyIC:fix possible mem leak 2024-01-08 16:21:02 +01:00
imLcIm.c Use flexible array member instead of fake size. 2018-03-23 14:32:05 +10:00
imLcLkup.c fix more shadow warning 2017-08-14 18:12:35 +02:00
imLcPrs.c ximcp: Address warning found by UBSan when growing an empty tree 2022-12-10 23:15:47 -08:00
imLcSIc.c XIM: remove Private and Public macros 2012-10-29 18:43:35 -05:00
imRm.c Fix XCreateIC() memory leak (Part 2) 2024-01-08 16:50:52 +01:00
imRmAttr.c Fix input clients connecting to server 2020-08-17 02:21:40 +00:00
imThaiFlt.c remove a commented-out code fragment, and remove a stray blank line 2022-01-26 17:21:31 +01:00
imThaiIc.c Remove more redundant null checks before Xfree() 2014-06-06 17:24:39 -07:00
imThaiIm.c Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2013-08-20 12:51:09 -07:00
imTrans.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
imTransR.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
imTrX.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
Makefile.am integer overflows in TransFileName() [CVE-2013-1981 9/13] 2013-05-09 18:59:52 -07:00