Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
tuxmath
tuxmath-bufferoverflowstrncat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tuxmath-bufferoverflowstrncat.patch of Package tuxmath
--- src/server.c.orig 2011-06-12 22:05:01.693984108 +0200 +++ src/server.c 2011-06-12 22:09:57.224160453 +0200 @@ -237,11 +237,11 @@ snprintf(buf, 256, "tuxmathserver "); for(i = 1; i < argc; i++) { - strncat(buf, argv[i], 256); - strncat(buf, " ", 256); + strncat(buf, argv[i], 255); + strncat(buf, " ", 255); } /* Add '&' to make it non-blocking: */ - strncat(buf, "&", 256); + strncat(buf, "&", 255); DEBUGMSG(debug_lan, "RunServer_prog() - launching standalone " "tuxmathserver program with \"system(%s)\"\n", buf);
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