Debian Patches

Status for espeak-ng/1.51+dfsg-12

Patch Description Author Forwarded Bugs Origin Last update
mb-fr commit cbb2b32cb108ed06dc178be8436d4477f80efd58

mb-fr*-en: Give separate names

Otherwise if e.g. only mbrola-fr4 is installed, when the application tries
to load voice en-french, it actually ends up trying to load mb-fr1-en.

diff --git a/espeak-ng-data/voices/mb/mb-fr1-en b/espeak-ng-data/voices/mb/mb-fr1-en
index b39db344..0cc94f5e 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-08-25
bom commit b841a70717506c2f63fe631d343d4176cc017e68

Remove BOM from files (#1274)
Dekedro <dekedro@tankers.xyz> no 2022-08-09
CVE commit 58f1e0b6a4e6aa55621c6f01118994d01fd6f68c

tests: fix CVE crashes (#1846)

Fixes: #1823, #1824, #1825, #1826, #1827

- Add crash test and vectors provided by @SEU-SSL
- Disallow dummy/null voice load (that causes incorrect translator
initialization)
- Fix empty `phondata` file load (that causes unitialized memory access)
- Limit max word length for RemoveEnding (causes buffer overflow)
- Limit punctlist initialization from embedded commands (buffer
overflow)
- Fix unitialized pitch in wavegen (DBZ and indexing problems)
- Properly zeroize stack variables before use in TranslateClause and
SetWordStress

TODO (in nextup PR): add & fix more vectors from fuzzer.

commit 9decedb8c229e1a4219baceaab7a3d656e889e31

Fix missing checks for EOF

commit c4c05820c4a47369d5a81e4a506fe7abb2fa7ed6

tests: add CVE crash vectors

commit e79405772cecf47053116aeaad10e64606292b14

voices: disallow dummy voice when not compiling

commit 7d4ad3c2ae063cb08bfd606021bc323dfbadaba9

synthdata: fix empty file load

commit b99f332c576eb49839613a55cfd3e0e1b5487191

dictionary: limit word length

commit 1a7ecfc2f202438b17e742368f910e6099ce02b7

readclause: limit embedded punctlist length

commit a5eb246debb51ba328ef399350dfcd5d87782245

wavegen: fix unitialized pitch

commit 5f7db763e2eff1d8174d2b65a4bbe4b2a85c8a0c

translate: fix number_buf initialization

commit e7bcd3cc1599ebb531bb62fc3007d3ce1dade167

dictionary: fix stack initialization
Yury Popov <git@phoenix.dj> no 2023-12-16
bufsize Apparently 60ms is too much for some cards.

===================================================================
no
fix-cancel https://github.com/espeak-ng/espeak-ng/issues/172

Upstream pcaudiolib made audio_object_flush actually do the
close/reopen, but this is not released yet (will be in 1.1). This
however poses threading issues with ALSA: audio_object_flush is
currently called in the application thread while it must be done in
the say_thread for proper safety.

espeak-ng 1.49.2 added a cancel_audio() function which calls
audio_object_flush and is called from close_stream(). That is however
not enough for the stream to get interrupted on cancel (and we don't
want to use upstream's current fix mentioned above since it poses
threading issues).
no
privacy no
x Avoid complaining about our own files being executable :) no
windows We don't include the windows installer sources. no
i386 commit 310e8fc768631e0d242472ac151bf5ab8fec7f4c

Avoid using floating-point operation

This has varying behavior depending on toolchain and processor.

Fixes #1151

diff --git a/src/libespeak-ng/voices.c b/src/libespeak-ng/voices.c
index add6b94e..6bd83838 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-04-10
big-endian commit 2c524ec8df6b7f57c1ba1367479830bf9f6be6c2

Fix loading wav files on big-endian architectures

Fixes #1152
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-04-08
CI CI on salsa seems to be detecting an exec bit ?? no
lang commit 2878e91db0b63663e2059910acbb4064356b1baa

Fix testsuite under various locales

When the current locale doesn't match the current voice, grep would be
surprised by the produced output and believe that this is not text, for
instance with LC_ALL=ru_RU.CP1251 we get:

TEST tests/language-replace.test
[...]
testing mk
grep: (standard input): binary file matches
2d1
< Translate ''

But we can give -a to grep so it always considers its input as text.

diff --git a/tests/common b/tests/common
index 2d96569a..6c841817 100755
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-04-10
long-build-path commit e8253c6513e604bb2a4aa9de18682b6f96eeef25

ssml: Use a larger buffer

When building espeak-ng in a directory that has a long path, 80 bytes to
store it is quite short.

diff --git a/src/libespeak-ng/ssml.c b/src/libespeak-ng/ssml.c
index 5bd5da07..c61d5624 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-04-10

All known versions for source package 'espeak-ng'

Links