transferEncoding can be NULL, verification happens in line 348

This commit is contained in:
Markus Mattes 2018-10-18 13:59:49 +02:00
parent eea5e2085e
commit 6d5b88cda6

View File

@ -326,7 +326,7 @@ static wStream* rdg_build_http_request(rdpRdg* rdg, const char* method,
HttpRequest* request = NULL;
const char* uri;
if (!rdg || !method || !transferEncoding)
if (!rdg || !method )
return NULL;
uri = http_context_get_uri(rdg->http);