mirror of
https://github.com/curl/curl.git
synced 2026-07-25 17:37:19 +03:00
telnet.c: fix possible use of non-null-terminated strings
This commit is contained in:
parent
c48b996cf2
commit
aa0fbe3537
1 changed files with 2 additions and 2 deletions
|
|
@ -822,8 +822,8 @@ static CURLcode check_telnet_options(struct connectdata *conn)
|
|||
{
|
||||
struct curl_slist *head;
|
||||
struct curl_slist *beg;
|
||||
char option_keyword[128];
|
||||
char option_arg[256];
|
||||
char option_keyword[128] = "";
|
||||
char option_arg[256] = "";
|
||||
struct SessionHandle *data = conn->data;
|
||||
struct TELNET *tn = (struct TELNET *)conn->data->req.protop;
|
||||
CURLcode result = CURLE_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue