cppcheck analysis of festival_2.0.95~beta-5.1.dsc
- ./examples/festival_client.c:296 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./examples/festival_client.c:123 [error] - Resource leak: fd
- ./examples/festival_client.c:441 [error] - Memory leak: info
- ./src/arch/festival/server.cc:147 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/main/festival_client.cc:210 [error] - Resource leak: infd
- ./src/modules/UniSyn_diphone/us_diphone_index.cc:255 [error] - Resource leak: fp
- ./src/modules/UniSyn_phonology/syllabify.cc:226 [error] - Possible null pointer dereference: m
- ./src/modules/clustergen/me_mlsa.cc:594 [error] - Possible null pointer dereference: freqt_buff
- ./src/modules/clustergen/me_mlsa.cc:739 [error] - Possible null pointer dereference: lsp2lpc_buff
- ./src/modules/clustergen/me_mlsa.cc:816 [error] - Possible null pointer dereference: gc2gc_buff
- ./src/modules/diphone/di_io.cc:1071 [error] - Mismatching allocation and deallocation: sh
- ./src/modules/diphone/oc.cc:207 [error] - Mismatching allocation and deallocation: counts
- ./src/modules/diphone/oc.cc:208 [error] - Mismatching allocation and deallocation: w
- ./src/modules/diphone/oc.cc:269 [error] - Mismatching allocation and deallocation: counts
- ./src/modules/diphone/oc.cc:270 [error] - Mismatching allocation and deallocation: w
- ./src/modules/hts_engine/HTS_engine.c:726 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/modules/hts_engine/HTS_engine.c:729 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/modules/hts_engine/HTS_engine.c:731 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/modules/hts_engine/HTS_engine.c:733 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:13:59 +0000, based on results by cppcheck 1.46