mirror of
https://github.com/curl/curl.git
synced 2026-07-28 20:43:07 +03:00
telnet: make printsub require another byte input
Reported in Joshua's sarif data Closes #18618
This commit is contained in:
parent
df60e8fe70
commit
1055864b03
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ static void printsub(struct Curl_easy *data,
|
|||
else /* bad input */
|
||||
return;
|
||||
}
|
||||
if(length < 1) {
|
||||
if(length <= 1) {
|
||||
infof(data, "(Empty suboption?)");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue