Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
lmms
lmms-0.4.12-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lmms-0.4.12-overflow.patch of Package lmms
Index: plugins/zynaddsubfx/src/Misc/Bank.cpp =================================================================== --- plugins/zynaddsubfx/src/Misc/Bank.cpp.orig +++ plugins/zynaddsubfx/src/Misc/Bank.cpp @@ -337,9 +337,9 @@ int Bank::newbank(const char *newbankdir if(((bankdir[strlen(bankdir) - 1]) != '/') && ((bankdir[strlen(bankdir) - 1]) != '\\')) - strncat(bankdir, "/", MAX_STRING_SIZE); + strncat(bankdir, "/", MAX_STRING_SIZE - strlen(bankdir) - 1); ; - strncat(bankdir, newbankdirname, MAX_STRING_SIZE); + strncat(bankdir, newbankdirname, MAX_STRING_SIZE - strlen(bankdir) - 1); #ifdef OS_WINDOWS result = mkdir(bankdir); #else
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