diff -u recite-1.0/debian/changelog recite-1.0/debian/changelog --- recite-1.0/debian/changelog +++ recite-1.0/debian/changelog @@ -1,3 +1,11 @@ +recite (1.0-8.2) unstable; urgency=medium + + * Non-maintainer upload. + * Real fix for segfaults on out-of-bounds. (Closes: #504905). + + Thanks to Peter De Wachter for the patch. + + -- Barry deFreese Tue, 11 Nov 2008 11:14:24 -0500 + recite (1.0-8.1) unstable; urgency=medium * Non-maintainer upload. diff -u recite-1.0/phonemes/rules.c recite-1.0/phonemes/rules.c --- recite-1.0/phonemes/rules.c +++ recite-1.0/phonemes/rules.c @@ -235,6 +235,11 @@ } if (ph <= FRICATIVES_END) { + *offset = ph - FRICATIVES_START; + return FRICATIVE_TYPE; + } + if (ph <= PLOSIVES_END) + { *offset = ph - PLOSIVES_START; return PLOSIVE_TYPE; }