Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
sblim-sfcb
0300-bnc425457-2169514-limit_message_size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0300-bnc425457-2169514-limit_message_size.patch of Package sblim-sfcb
diff -up ./msgqueue.c.orig ./msgqueue.c --- ./msgqueue.c.orig 2008-12-05 22:49:40.000000000 -0700 +++ ./msgqueue.c 2008-12-05 22:52:41.000000000 -0700 @@ -290,6 +290,9 @@ static int spRcvMsg(int *s, int *from, v mqg->eintr=0; if (*length) { + if (*length > 100000000UL) { + return spHandleError(s, em); + } *data = malloc(spMsg.totalSize + 8); if(*data == NULL) { return spHandleError(s, em);
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