🐞 fix(quic version len): 增加包长判断,避免读越界

This commit is contained in:
yangwei
2023-07-26 19:20:58 +08:00
parent bfeae04470
commit 479fd1a771
2 changed files with 7 additions and 0 deletions

View File

@@ -321,6 +321,8 @@ extern "C" long long QUIC_FLAG_CHANGE(char* flag_str)
extern "C" void QUIC_DESTROY(void)
{
MESA_destroy_runtime_log_handle(g_quic_param.logger);
g_quic_param.logger = NULL;
return ;
}