Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cwh
monitord
SocketServer_buffer_overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SocketServer_buffer_overflow.patch of Package monitord
--- monitord/SocketServer.cpp.orig 2011-03-31 11:41:13.000000000 +0200 +++ monitord/SocketServer.cpp 2011-03-31 11:43:16.000000000 +0200 @@ -746,7 +746,7 @@ FILE_LOG(logINFO) << "recv()<=0 => socketthread exiting" ; m_exitThread=true ; } - strncat(m_CommandBuffer,buffer,MAX_COMMANDLINE) ; + strncat(m_CommandBuffer,buffer,MAX_COMMANDLINE-strlen(m_CommandBuffer)-1) ; memset(buffer,0,RECV_BUFFER) ; // Bis zum CR/LF einkuerzen
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