Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
espeakedit
espeakedit-gcc7-destbufferoverflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File espeakedit-gcc7-destbufferoverflow.patch of Package espeakedit
Index: b/src/dictionary.cpp =================================================================== --- a/src/dictionary.cpp +++ b/src/dictionary.cpp @@ -3599,7 +3599,7 @@ int Lookup(Translator *tr, const char *w 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)-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