fontconfig/src
Alex Richardson 92ed966b74 FcCharSetPutLeaf(): Fix missing move of new_leaves contents
If the `realloc(numbers)` call fails, shrinking the leaves allocation
back to the old size is not guaranteed to return the old pointer value.
While this might be the case with some malloc() implementations, realloc()
could also just mark the following area as free.
To make this less error-prone, we grow numbers first and then grow leaves
since the numbers content does not need to be relocated, but leaves does.

See https://bugs.freedesktop.org/show_bug.cgi?id=90867
2021-08-18 10:36:47 +01:00
..
Makefile.am Revert constructing fullname property from family and style properties 2021-06-28 17:37:23 +09:00
cutout.py meson: fix cross-compilation issues with gperf header file preprocessing 2021-02-15 12:53:32 +00:00
fcarch.c Fix assertion on 32bit arch 2015-10-16 17:24:22 +09:00
fcarch.h Minor 2013-08-21 14:27:16 -04:00
fcatomic.c fccompat: fix build on Windows without unistd.h 2020-07-07 03:48:34 +00:00
fcatomic.h Add support for C11 stdatomic atomics 2021-07-20 09:32:52 +01:00
fccache.c Add support for C11 stdatomic atomics 2021-07-20 09:32:52 +01:00
fccfg.c Add support for XDG_DATA_DIRS 2021-03-30 15:08:17 +09:00
fccharset.c FcCharSetPutLeaf(): Fix missing move of new_leaves contents 2021-08-18 10:36:47 +01:00
fccompat.c Add Meson build system 2020-07-31 07:26:11 +00:00
fcdbg.c Bug 43367 - RFE: iterator to peek objects in FcPattern 2018-05-11 20:48:30 +09:00
fcdefault.c Add FC_ORDER property into cache 2020-05-25 18:22:55 +09:00
fcdeprecate.h
fcdir.c Revert constructing fullname property from family and style properties 2021-06-28 17:37:23 +09:00
fcformat.c fcformat: fix compiler warnings with clang on Android 2021-01-08 11:39:25 +00:00
fcfoundry.h Split up a code again coming from different copyright notice 2020-09-29 15:37:14 +09:00
fcfreetype.c Revert constructing fullname property from family and style properties 2021-06-28 17:37:23 +09:00
fcfs.c Improve the performance issue on rescanning directories 2013-12-20 11:57:16 +09:00
fcftint.h Remove all training whitespaces 2010-04-12 12:19:05 -04:00
fchash.c Drop unnecessary line to include uuid.h 2019-04-03 12:02:09 +00:00
fcinit.c Allow multiple default system font directories in the fallback config, and set them to the default dirs on Darwin. 2020-11-28 01:16:36 +00:00
fcint.h fcint: add casts to allow building with stricter compilers 2021-07-20 03:31:47 +00:00
fclang.c Fix some typos/spelling errors 2020-07-21 18:42:40 -07:00
fclist.c Fix some typos/spelling errors 2020-07-21 18:42:40 -07:00
fcmatch.c Do not set different score to non-string values 2021-07-08 14:47:36 +09:00
fcmatrix.c Remove memory accounting and reporting 2012-12-29 23:12:07 -05:00
fcmd5.h Make more clearer the license terms 2020-09-03 06:25:30 +00:00
fcmutex.h Fix build and warnings on win32 2013-01-02 17:35:56 -06:00
fcname.c Improve the performance a bit 2019-08-07 12:39:14 +00:00
fcobjs.c Fix the build issue with gperf 3.1 2017-02-23 21:39:10 +09:00
fcobjs.h Add FC_ORDER property into cache 2020-05-25 18:22:55 +09:00
fcobjshash.gperf.h Add missing license headers 2014-01-17 13:05:25 +09:00
fcpat.c Avoid a crash in FcPatternHash with ranges 2020-08-23 11:28:30 -04:00
fcptrlist.c Make a call fail on ENOMEM 2018-07-25 12:39:53 +09:00
fcrange.c Fix range comparision operators implementation 2017-09-20 13:13:35 -07:00
fcserialize.c Fix more warnings 2012-12-29 22:56:14 -05:00
fcstat.c fcstat: add support for wasm-emscripten 2021-07-06 18:17:32 +02:00
fcstdint.h.in Add Meson build system 2020-07-31 07:26:11 +00:00
fcstr.c Add support for XDG_DATA_DIRS 2021-03-30 15:08:17 +09:00
fcweight.c Fix the linear interpolation during weight mapping 2019-06-19 11:55:06 +02:00
fcwindows.h Fix build issues regarding formatter for Win32 2020-08-06 13:02:00 +09:00
fcxml.c Fix potential memory leak in _get_real_paths_from_prefix 2021-04-10 00:10:20 +02:00
fontconfig.def.in Add Meson build system 2020-07-31 07:26:11 +00:00
ftglue.c Replace FT_UNUSED with FC_UNUSED. 2020-07-07 10:25:02 -04:00
ftglue.h Fix undefined-behavior signed shifts 2018-01-09 11:03:31 +01:00
makealias Allow overriding symbol visibility. 2018-01-04 15:24:16 +00:00
makealias.py Add Meson build system 2020-07-31 07:26:11 +00:00
meson.build Revert constructing fullname property from family and style properties 2021-06-28 17:37:23 +09:00