Commit b2849f44 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Merge branch 'maint-0.4.3'

parents e3b1e617 42507429
Loading
Loading
Loading
Loading

changes/bug33918

0 → 100644
+3 −0
Original line number Diff line number Diff line
  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
Original line number Diff line number Diff line
@@ -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);