Hierarchy中,使用垃圾回收方式释放compile,避免bool_matcher命中已删除的compile后,从而非法内存访问导致段错误。 修复 TSG-6548

This commit is contained in:
zhengchao
2021-06-01 21:40:20 +08:00
parent 7980d87924
commit fe73ef1156
4 changed files with 27 additions and 19 deletions

View File

@@ -4145,7 +4145,7 @@ TEST_F(MaatCmdTest, CompileDelete_TSG6548)
time_t update_time=time(NULL);
time_t now=update_time;
while(now-update_time<60)
while(now-update_time<3)
{
ret=Maat_scan_proto_addr(feather,table_id, &ipv4_addr, 6, result, 4, &mid, 0);
if(ret>0)