summaryrefslogtreecommitdiff
path: root/src/tsg_rule.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-05-15 16:38:56 +0800
committerliuxueli <[email protected]>2023-05-15 17:01:06 +0800
commitd8b595ff2b5926aa6209d166ca087d9a11355106 (patch)
treeb810a7ed5a89cc6c2d015ed5bdd99666b1276297 /src/tsg_rule.cpp
parent2eb5a34e0f2806e587f8329dd65a6c0118f4411d (diff)
TSG-15014: 使用错误的bridge id获取异步存储空间,导致内存被覆写v6.0.11
Diffstat (limited to 'src/tsg_rule.cpp')
-rw-r--r--src/tsg_rule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp
index cb17006..7759912 100644
--- a/src/tsg_rule.cpp
+++ b/src/tsg_rule.cpp
@@ -2800,7 +2800,7 @@ size_t tsg_scan_nesting_addr(const struct streaminfo *a_stream, struct maat *fea
return 0;
}
- struct session_runtime_attribute *srt_attribute=(struct session_runtime_attribute *)session_runtime_attribute_get(a_stream);
+ struct session_runtime_attribute *srt_attribute=(struct session_runtime_attribute *)session_runtime_attribute_new(a_stream);
srt_attribute_set_ip_asn(a_stream, feather, &(srt_attribute->client_asn), &(srt_attribute->server_asn));
srt_attribute_set_ip_location(a_stream, feather, &(srt_attribute->client_location), &(srt_attribute->server_location));