Merge branch 'maint-0.4.3'

This commit is contained in:
Nick Mathewson
2020-04-21 12:22:37 -04:00
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (IPv6, logging):
- Stop truncating IPv6 addresses and ports in channel and connection logs.
Fixes bug 33918; bugfix on 0.2.4.4-alpha.
+2 -1
View File
@@ -564,7 +564,8 @@ channel_tls_get_transport_name_method(channel_t *chan, char **transport_out)
static const char *
channel_tls_get_remote_descr_method(channel_t *chan, int flags)
{
#define MAX_DESCR_LEN 32
/* IPv6 address, colon, port */
#define MAX_DESCR_LEN (TOR_ADDR_BUF_LEN + 1 + 5)
static char buf[MAX_DESCR_LEN + 1];
channel_tls_t *tlschan = BASE_CHAN_TO_TLS(chan);