mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
parent
2e770b33e8
commit
dd71f61ea2
53 changed files with 65 additions and 84 deletions
|
|
@ -528,7 +528,7 @@ process_state:
|
|||
/* socks4a, not resolving locally, sends the hostname.
|
||||
* add an invalid address + user + hostname */
|
||||
unsigned char buf[4] = { 0, 0, 0, 1 };
|
||||
size_t hlen = strlen(sx->hostname) + 1; /* including NUL */
|
||||
size_t hlen = strlen(sx->hostname) + 1; /* including NUL */
|
||||
|
||||
if(hlen > 255) {
|
||||
failf(data, "SOCKS4: too long hostname");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue