src/fccfg.c | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 8cf0ce700a8abe0d97ace4bf7efc7f9534b729ba Merge: 24ed9b4 c85979b Author: Akira TAGOH <akira@xxxxxxxxx> Date: Tue May 20 07:30:09 2025 +0000 Merge branch 'uninitMsan' into 'main' Speculative fix for uninitialised value used in FcFontSort See merge request fontconfig/fontconfig!406 commit c85979b96388e91662de1313ee0b94d93497e51f Author: Dominik Röttsches <drott@xxxxxxxxxxxx> Date: Mon May 19 14:36:01 2025 +0300 Speculative fix for uninitialised value used in FcFontSort A Chromium MSAN reports indicates that the member prefer_app_fonts of FcConfig is not initialized. Likely accidentally introduced in 9268bb64bebd1e46a0433d780ebdeea49fc53d95 diff --git a/src/fccfg.c b/src/fccfg.c index cfa0920..16deaf2 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -203,6 +203,8 @@ FcConfigCreate (void) config->filter_data = NULL; config->destroy_data_func = NULL; + config->prefer_app_fonts = FcFalse; + FcRefInit (&config->ref, 1); return config;