Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
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.30/src/microhttpd/postprocessor.c =================================================================== --- libmicrohttpd-0.9.30.orig/src/microhttpd/postprocessor.c +++ libmicrohttpd-0.9.30/src/microhttpd/postprocessor.c @@ -301,7 +301,7 @@ MHD_create_post_processor (struct MHD_Co return NULL; /* failed to determine boundary */ boundary += strlen ("boundary="); blen = strlen (boundary); - if ((blen == 0) || (blen * 2 + 2 > buffer_size)) + if ((blen < 2) || (blen * 2 + 2 > buffer_size)) return NULL; /* (will be) out of memory or invalid boundary */ if ( (boundary[0] == '"') && (boundary[blen - 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