From 37192a913603c11ac652fa8fc3a74dc281542e4d Mon Sep 17 00:00:00 2001 From: kelek- Date: Sat, 22 Apr 2017 19:46:04 +0200 Subject: [PATCH] Updated the maximum length of the socks5 user and password to comply to RFC 1929, where both the password and the username length is definied as a maximum of 255 --- src/common/hexchat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/hexchat.h b/src/common/hexchat.h index c64e44a0..a9e22372 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -301,8 +301,8 @@ struct hexchatprefs char hex_irc_user_name[127]; char hex_net_bind_host[127]; char hex_net_proxy_host[64]; - char hex_net_proxy_pass[32]; - char hex_net_proxy_user[32]; + char hex_net_proxy_pass[256]; + char hex_net_proxy_user[256]; char hex_stamp_log_format[64]; char hex_stamp_text_format[64]; char hex_text_background[PATHLEN + 1];