已关闭
security: harden boundary checks and error-path cleanup #61
yangqi创建于 9月12日关闭于 9月15日
9月12日 将 hlinbo、shw030915、Gao_Victor、qmyyxtl、caowaterman、yangqi12138 设为负责人
9月12日 添加了label:sig/sig-UB-ServiceCore
openeuler-ci-bot
9月12日 评论:
9月12日 评论:
Welcome To openEuler Community
Hey @yangqi12138 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: sig-UB-ServiceCore ,
and any of the maintainers: @Gao_Victor, @caowaterman, @hlinbo, @qmyyxtl, @shw030915 ,
and any of the committers: @deepsleep_mem, @liu1103xwxw .


9月15日 关闭了 issue
9月15日 issue状态由 待办的 改变为 已完成
问题概述
安全编码检查发现多处边界校验、错误路径清理和并发状态管理不完整,可能导致未定义行为、资源泄漏、越界访问、锁状态不一致或敏感路径写入日志。
涉及范围
ExecutorService、dg_ring_buffer及其包装入口和自包含测试预期结果
补齐输入和算术边界检查,确保失败路径释放或回滚已获取资源,避免敏感路径日志,并增加关键回归测试。经全仓引用扫描确认
ExecutorService和dg_ring_buffer没有生产调用方,应删除相关死代码及仅验证其自身的测试。