Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet()
This commit is contained in:
parent
ccc239b386
commit
c76ed777dd
|
@ -610,7 +610,7 @@ interpret_enumerate (FcFormatContext *c,
|
||||||
{
|
{
|
||||||
FcLangSet *langset;
|
FcLangSet *langset;
|
||||||
if (FcResultMatch ==
|
if (FcResultMatch ==
|
||||||
FcPatternGetLangSet (pat, os->objects[0], idx, &langset))
|
FcPatternGetLangSet (pat, os->objects[0], 0, &langset))
|
||||||
{
|
{
|
||||||
FcStrSet *ss;
|
FcStrSet *ss;
|
||||||
if (!(ss = FcLangSetGetLangs (langset)) ||
|
if (!(ss = FcLangSetGetLangs (langset)) ||
|
||||||
|
|
Loading…
Reference in New Issue