Ticket #52029: patch-src-fccache.c.diff
File patch-src-fccache.c.diff, 603 bytes (added by tc01@…, 8 years ago) |
---|
-
src/fccache.c
Removed a bugged security patch for Fontconfig 2.12.1
old new 652 652 e = FcPatternElts(font); 653 653 if (e->values != 0 && !FcIsEncodedOffset(e->values)) 654 654 return FcFalse; 655 656 for (j = font->num, l = FcPatternEltValues(e); j >= 0 && l; j--, l = FcValueListNext(l))657 if (l->next != NULL && !FcIsEncodedOffset(l->next))658 break;659 if (j < 0)660 return FcFalse;661 655 } 662 656 } 663 657