Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cobexer:branches:home:dgege:G15
g15daemon
fix-buffer-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-buffer-overflow.patch of Package g15daemon
diff --git a/libg15daemon_client/g15daemon_net.c b/libg15daemon_client/g15daemon_net.c index 641c0dd..f910cb4 100644 --- a/libg15daemon_client/g15daemon_net.c +++ b/libg15daemon_client/g15daemon_net.c @@ -217,7 +217,7 @@ int g15_recv_oob_answer(int sock) { if(poll(pfd,1,100)>0){ if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) { memset(packet,0,sizeof(packet)); - msgret = recv(sock, packet, 10 , MSG_OOB); + msgret = recv(sock, packet, sizeof(packet), MSG_OOB); if (msgret < 1) { return -1; }
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