From c76ed777ddb03a70c5990ef439d8d97809d1ef92 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 14 Mar 2011 18:04:59 -0300 Subject: [PATCH] Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet() --- src/fcformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcformat.c b/src/fcformat.c index 5198596..1368b71 100644 --- a/src/fcformat.c +++ b/src/fcformat.c @@ -610,7 +610,7 @@ interpret_enumerate (FcFormatContext *c, { FcLangSet *langset; if (FcResultMatch == - FcPatternGetLangSet (pat, os->objects[0], idx, &langset)) + FcPatternGetLangSet (pat, os->objects[0], 0, &langset)) { FcStrSet *ss; if (!(ss = FcLangSetGetLangs (langset)) || -- 2.39.5