Package: recite
Version: 1.0-8.1
Severity: important
Tags: patch
This patch fixes the root cause of #504200. Due to the missing lines,
fricatives and plosives are assigned out-of-bounds offsets. (These
offsets are used to index the Fricatives/Plosives/etc arrays.)
diff --git a/phonemes/rules.c b/phonemes/rules.c
index 6ea6892..6fc0e86 100644
--- a/phonemes/rules.c
+++ b/phonemes/rules.c
@@ -235,6 +235,11 @@ translate_phone(ph,offset)
}
if (ph <= FRICATIVES_END)
{
+ *offset = ph - FRICATIVES_START;
+ return FRICATIVE_TYPE;
+ }
+ if (ph <= PLOSIVES_END)
+ {
*offset = ph - PLOSIVES_START;
return PLOSIVE_TYPE;
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]