Details
[Home]
Issue of the Implementation # S0601
Brief
Crash FcPatternAdd after adding several user properties
Detailed Description
The system crashes after several calls (5 or more) of the function FcPatternAdd with the different object names (the second parameter of the function).
The stderr log of the test is in this file.
Problem location(s) in the standard
Fontconfig Developers Reference, Version 2.4.2
Example
FcPattern* p; FcValue v; if (!(p = FcPatternCreate ())) { printf ("Could not create the pattern "); } v->type = FcTypeString; v->u.s = (FcChar8 *)strdup ("asd"); FcPatternAdd (p, "asd", v, FcTrue); FcPatternAdd (p, "a1", v, FcTrue); FcPatternAdd (p, "a2", v, FcTrue); FcPatternAdd (p, "a3", v, FcTrue); FcPatternAdd (p, "a4", v, FcTrue); FcPatternAdd (p, "a5", v, FcTrue); FcPatternAdd (p, "a6", v, FcTrue); FcPatternAdd (p, "a7", v, FcTrue);
Component
fontconfig 2.3.94
Environment
Distributions
SLES 10
Status
Fixed in fontconfig 2.4
[Home]
»