mirror of
https://github.com/curl/curl.git
synced 2026-07-22 17:57:18 +03:00
curl tool: OOM handling fixes
This commit is contained in:
parent
ec73fd89ed
commit
0f19e0145a
1 changed files with 2 additions and 1 deletions
|
|
@ -1016,7 +1016,8 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
}
|
||||
else {
|
||||
GetStr(&postdata, nextarg);
|
||||
size = strlen(postdata);
|
||||
if(postdata)
|
||||
size = strlen(postdata);
|
||||
}
|
||||
|
||||
#ifdef CURL_DOES_CONVERSIONS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue