Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
espeak
easpeak-fix-bufferoverflow-strncpy.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File easpeak-fix-bufferoverflow-strncpy.patch of Package espeak
--- a/src/dictionary.cpp +++ b/src/dictionary.cpp @@ -3533,7 +3533,7 @@ say_as = option_sayas; option_sayas = 0; // don't speak replacement word as letter names text[0] = 0; - strncpy0(&text[1], word1, sizeof(text)); + strncpy0(&text[1], word1, sizeof(text)-strlen(text)-1); found = TranslateWord(tr, &text[1], 0, NULL, NULL); strcpy(ph_out, word_phonemes); option_sayas = say_as;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor