Segfault in rist_receiver_rtcp_authenticate() peer->parent->peer_data is NULL
While trying to re-test #101 (closed) using just ristreceiver
I hit this problem while stopping and then rapidly restarting the sender,
Thread 2 "ristreceiver" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff780f700 (LWP 17035)]
0x0000000000407138 in rist_receiver_rtcp_authenticate (seq=<optimized out>, flow_id=193855354, peer=0x7ffff035f6d0) at ../../../../../../../../project/librist-rust/librist-sys/librist/src/rist-common.c:1683
1683 ../../../../../../../../project/librist-rust/librist-sys/librist/src/rist-common.c: No such file or directory.
(gdb) print peer
$1 = (struct rist_peer *) 0x7ffff035f6d0
(gdb) print peer->parent
$2 = (struct rist_peer *) 0x626c40
(gdb) print peer->parent->peer_data
$3 = (struct rist_peer *) 0x0
The line in question is,
if (ctx->common.profile == RIST_PROFILE_SIMPLE && peer->parent->peer_data->authenticated)