fontconfig: Branch 'main' - 2 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 5 05:09:54 UTC 2025


 src/fcdefault.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 28991422f9738d0e12940805e1e6d341a5387e2d
Merge: e5f3180 3e0cee1
Author: Akira TAGOH <akira at tagoh.org>
Date:   Thu Jun 5 05:09:51 2025 +0000

    Merge branch 'fix-use-after-free' into 'main'
    
    Fix use-after-free in FcConfigGetPrgname
    
    See merge request fontconfig/fontconfig!419

commit 3e0cee12f133609ed3dcc41a1f3c180ac725f93a
Author: Tom Anderson <thomasanderson at chromium.org>
Date:   Thu Jun 5 01:11:29 2025 +0000

    Fix use-after-free in FcConfigGetPrgname
    
    This fixes a regression introduced in 90a84c47.
    
    Changelog: fixed

diff --git a/src/fcdefault.c b/src/fcdefault.c
index 3fd6ccc..1957180 100644
--- a/src/fcdefault.c
+++ b/src/fcdefault.c
@@ -229,7 +229,6 @@ retry:
     }
 
     if (prgname && !prgname[0]) {
-	free (prgname);
 	prgname = NULL;
     }
     FcConfigDestroy (config);


More information about the Fontconfig mailing list