Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
libmicrohttpd
fix-parser-bug-MHD_PostProcessor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-parser-bug-MHD_PostProcessor.patch of Package libmicrohttpd
Index: libmicrohttpd-0.9.57/src/microhttpd/postprocessor.c =================================================================== --- libmicrohttpd-0.9.57.orig/src/microhttpd/postprocessor.c +++ libmicrohttpd-0.9.57/src/microhttpd/postprocessor.c @@ -310,7 +310,7 @@ MHD_create_post_processor (struct MHD_Co return NULL; /* failed to determine boundary */ boundary += MHD_STATICSTR_LEN_ ("boundary="); blen = strlen (boundary); - if ( (blen == 0) || + if ( (blen < 2) || (blen * 2 + 2 > buffer_size) ) return NULL; /* (will be) out of memory or invalid boundary */ if ( (boundary[0] == '"') &&
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