mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 18:59:46 -05:00
writeout: fix NULL dereference for "this url"
Detected by torture test 1029 Follow-up to 7a90ddf88f5a Closes #6374
This commit is contained in:
parent
aba01da639
commit
44a504e5e4
@ -141,6 +141,7 @@ void ourWriteOut(CURL *curl, struct per_transfer *per, const char *writeinfo,
|
||||
curl_easy_strerror(result), stream);
|
||||
break;
|
||||
case VAR_INPUT_URL:
|
||||
if(per->this_url)
|
||||
fputs(per->this_url, stream);
|
||||
break;
|
||||
case VAR_URLNUM:
|
||||
|
Loading…
x
Reference in New Issue
Block a user