SmartDNS PR:修复共享标志修改与叶节点容量检查
Polaris 维护者说明两项正确性修复已包含在 commit `6f2a7b3`:修改前复制共享 flags,删除叶节点前检查容量并在需要时解除共享叶节点;回归测试覆盖这些修复。存储优化和测量范围已分开描述,完整 sanitizer 限制仍未解决,相关上游工作流等待维护者批准。
作者原文@polaris-archThanks for reviewing. Both correctness fixes are already included in commit
6f2a7b3:
_config_domain_rule_flag_set()clones shared flags before mutation so that a child group's changes do not modify its parent._config_domain_rule_remove()checks the leaf's allocated capacity before accessing a slot and detaches shared leaves before removal.Regression tests cover both cases. I have updated the title and description to put these correctness fixes first and describe the storage optimization and its measurement scope separately. The unresolved full-sanitizer limitations remain documented.
The upstream C/C++ and WebUI workflows currently await maintainer approval to run. Could a maintainer approve those runs?