Oss-fuzz integration

- fix a buffer overflow in ucd_tolower leading to failure when
compiling with address sanitizer
- force the use of C++ compiler for espeak-ng
- adding a malloc to have a null-terminated string in the fuzz target
- setting (but not overwriting) ESPEAK_DATA_PATH environment
variable inside the fuzz target
This commit is contained in:
Philippe Antoine
2021-05-04 13:12:42 +02:00
parent 490538b715
commit 24bfbcfeca
3 changed files with 8 additions and 2 deletions
+1
View File
@@ -222,6 +222,7 @@ endif
src_espeak_ng_LDADD = src/libespeak-ng.la ${PCAUDIOLIB_LIBS}
src_espeak_ng_SOURCES = src/espeak-ng.c
nodist_EXTRA_src_espeak_ng_SOURCES = force-cxx-linking.cxx
##### tests: