mirror of
https://github.com/curl/curl.git
synced 2026-07-28 21:53:06 +03:00
parent
db02e0e980
commit
307b7543ea
19 changed files with 26 additions and 26 deletions
|
|
@ -138,7 +138,7 @@ CURLcode Curl_base64_decode(const char *src,
|
|||
/* Calculate the size of the decoded string */
|
||||
rawlen = (numQuantums * 3) - padding;
|
||||
|
||||
/* Allocate our buffer including room for a zero terminator */
|
||||
/* Allocate our buffer including room for a null-terminator */
|
||||
newstr = malloc(rawlen + 1);
|
||||
if(!newstr)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue