fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fcpat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit de73d6c51a7901de870c540004096ca9777df0f1
Author: Matthias Clasen <mclasen@xxxxxxxxxx>
Date:   Sun Aug 23 10:45:26 2020 -0400

    Avoid a crash in FcPatternHash with ranges
    
    When a cached pattern contains a range,
    FcPatternHash will crash.
    
    Fixes #254.

diff --git a/src/fcpat.c b/src/fcpat.c
index 2b1a808..5927be4 100644
--- a/src/fcpat.c
+++ b/src/fcpat.c
@@ -338,7 +338,7 @@ FcValueHash (const FcValue *v)
     case FcTypeLangSet:
 	return FcLangSetHash (FcValueLangSet(v));
     case FcTypeRange:
-	return FcRangeHash (v->u.r);
+	return FcRangeHash (FcValueRange (v));
     }
     return 0;
 }
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux