Projects
openEuler:Factory
appweb
_service:tar_scm:CVE-2021-33254.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2021-33254.patch of Package appweb
diff -Nur appweb-8.2.5/src/http/httpLib.c new/src/http/httpLib.c --- appweb-8.2.5/src/http/httpLib.c 2021-11-09 04:59:05.000000000 +0800 +++ new/src/http/httpLib.c 2022-07-12 16:19:03.610242882 +0800 @@ -17337,7 +17337,10 @@ */ up = rx->parsedUri; up->scheme = sclone(stream->secure ? "https" : "http"); - hostname = rx->hostHeader ? rx->hostHeader : stream->host->name; + hostname = rx->hostHeader; + if (!hostname && stream->host) { + hostname = stream->host->name; + } if (!hostname) { hostname = stream->sock->acceptIp; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.