mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 00:28:48 -05:00
krb5: don't use 'static' to store PBSZ size response
... because it makes the knowledge and usage cross-transfer in funny and unexpected ways. Reported-by: Harry Sintonen Closes #6963
This commit is contained in:
parent
9f71cc293f
commit
994af2a1e9
@ -748,7 +748,7 @@ static int sec_set_protection_level(struct Curl_easy *data)
|
||||
|
||||
if(level) {
|
||||
char *pbsz;
|
||||
static unsigned int buffer_size = 1 << 20; /* 1048576 */
|
||||
unsigned int buffer_size = 1 << 20; /* 1048576 */
|
||||
|
||||
code = ftp_send_command(data, "PBSZ %u", buffer_size);
|
||||
if(code < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user