Browse Source

TT#14008 Fix segfault when 'tls-send-to' option not set

(cherry picked from commit 79a461ff7e)

Change-Id: I842fdf1d69081f44f6d0b3f0e5ab08b3949d30c3
mr10.3
Anton Voylenko 4 years ago
committed by Richard Fuchs
parent
commit
b5438b0021
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      recording-daemon/packet.c

+ 1
- 1
recording-daemon/packet.c View File

@ -202,7 +202,7 @@ out:
}
db_do_stream(mf, ret->output, "single", stream, ssrc);
}
if ((stream->forwarding_on || mf->forwarding_on) && !ret->tls_fwd_stream) {
if ((stream->forwarding_on || mf->forwarding_on) && !ret->tls_fwd_stream && tls_send_to_ep.port) {
// initialise the connection
ZERO(ret->tls_fwd_poller);
dbg("Starting TLS connection to %s", endpoint_print_buf(&tls_send_to_ep));


Loading…
Cancel
Save