From 9fcc3c88d383dd7ea289310a56a01e3a9827c6a1 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 25 Oct 2021 20:33:49 +0800 Subject: [PATCH] =?UTF-8?q?TSG-8203:=20=E5=A2=9E=E5=8A=A0=E5=AF=B9MESA=5Fn?= =?UTF-8?q?et=5Fjump=5Fto=5Flayer=E8=BF=94=E5=9B=9E=E5=80=BC=E7=9A=84?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=AA=E7=A9=BA=E7=9A=84=E5=88=A4=E6=96=AD?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E8=AE=BF=E9=97=AE=E7=A9=BA=E6=8C=87?= =?UTF-8?q?=E9=92=88=E7=9A=84=E5=AF=BC=E8=87=B4=E9=87=8D=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 91e7eba..f54a6f6 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1010,7 +1010,7 @@ static int set_tcp_establish_latency_ms(const struct streaminfo *a_tcp, int thre break; } - if(!(tcp->syn)) + if((tcp!=NULL) && !(tcp->syn)) { set_session_attribute_label(a_tcp, TSG_ATTRIBUTE_TYPE_ESTABLISH_LATECY, NULL, 0, a_tcp->threadnum); return 1;