Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
thttpd
thttpd-2.25b-sec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thttpd-2.25b-sec.patch of Package thttpd
--- libhttpd.c +++ libhttpd.c @@ -1044,10 +1044,12 @@ } /* Decode it. */ + memset(authinfo, 0, sizeof(authinfo)); l = b64_decode( &(hc->authorization[6]), (unsigned char*) authinfo, sizeof(authinfo) - 1 ); - authinfo[l] = '\0'; + authinfo[sizeof(authinfo)-1] = '\0'; + /* Split into user and password. */ authpass = strchr( authinfo, ':' ); if ( authpass == (char*) 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