diff options
| author | liuxueli <[email protected]> | 2021-07-14 09:39:32 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-07-14 09:39:32 +0800 |
| commit | fdeb3ee86441a9108a52870712575de13b414cd6 (patch) | |
| tree | d31532ad169625fcc7a4f28f1103ed340cd59331 /src | |
| parent | 06b600e3f545c3dfa13b714b7d2fe68152822295 (diff) | |
修复: TSG-7045, TSG-7032; record_name空间较小,存在写越界导致重启v3.0.9
Diffstat (limited to 'src')
| -rw-r--r-- | src/fw_dns_rule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fw_dns_rule.h b/src/fw_dns_rule.h index 5df99f4..a2fea78 100644 --- a/src/fw_dns_rule.h +++ b/src/fw_dns_rule.h @@ -32,8 +32,8 @@ struct dns_records int record_num; int is_valid; int table_id; - char record_type[128]; - char record_name[MAX_TABLE_NAME_LEN]; + char record_type[129]; + char record_name[129]; void **record_values; }; |
