Fix allocating insufficient memory for terminating null of the string
diff --git a/src/fcname.c b/src/fcname.c
index c9320ae..711bb9b 100644
--- a/src/fcname.c
+++ b/src/fcname.c
@@ -334,8 +334,8 @@
 	    size_t len = strlen ((const char *) string);
 	    int si, ei;
 
-	    sc = malloc (len);
-	    ec = malloc (len);
+	    sc = malloc (len + 1);
+	    ec = malloc (len + 1);
 	    if (sc && ec && sscanf ((char *) string, "[%s %[^]]]", sc, ec) == 2)
 	    {
 		if (FcNameConstant ((const FcChar8 *) sc, &si) &&