curl tool: OOM handling fixes
This commit is contained in:
parent
ec73fd89ed
commit
0f19e0145a
@ -1016,7 +1016,8 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
GetStr(&postdata, nextarg);
|
GetStr(&postdata, nextarg);
|
||||||
size = strlen(postdata);
|
if(postdata)
|
||||||
|
size = strlen(postdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CURL_DOES_CONVERSIONS
|
#ifdef CURL_DOES_CONVERSIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user