diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-25 23:02:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-25 23:02:27 +0200 |
commit | 80f6facf1d44b0d7909d408b486112c42a9aed18 (patch) | |
tree | 2210e4fd236b300d9880c86f49b406551ee755f8 | |
parent | 7843fe0a1ba495d8e108115be0f1bab4cf86beb9 (diff) | |
download | curl-bagder/krb5-pbsz-not-static.tar.gz |
krb5: don't use 'static' to store PBSZ size responsebagder/krb5-pbsz-not-static
... because it makes the knowledge and usage cross-transfer in funny and
unexpected ways.
Reported-by: Harry Sintonen
-rw-r--r-- | lib/krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5.c b/lib/krb5.c index 4a9d40e9f..fe07d5267 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -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) |