已关闭
security: harden boundary checks and error-path cleanup #61
yangqi创建于  9月12日关闭于  9月15日
yangqi
9月12日 创建

问题概述

安全编码检查发现多处边界校验、错误路径清理和并发状态管理不完整,可能导致未定义行为、资源泄漏、越界访问、锁状态不一致或敏感路径写入日志。

涉及范围

  • IPC/RPC 消息、回调与全局服务生命周期
  • 共享内存锁及元数据回滚
  • TLS/动态库初始化与敏感日志
  • UBSE 节点/Region 数量边界与资源释放
  • daemon 锁文件、信号处理、日志文件权限
  • 记录链损坏检测
  • 无生产调用的 ExecutorService、dg_ring_buffer 及其包装入口和自包含测试

预期结果

补齐输入和算术边界检查,确保失败路径释放或回滚已获取资源,避免敏感路径日志,并增加关键回归测试。经全仓引用扫描确认 ExecutorService 和 dg_ring_buffer 没有生产调用方,应删除相关死代码及仅验证其自身的测试。

likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月12日 将 hlinbo、shw030915、Gao_Victor、qmyyxtl、caowaterman、yangqi12138 设为负责人
openeuler-ci-botopeneuler-ci-bot成员
9月12日 添加了label:sig/sig-UB-ServiceCore
openeuler-ci-bot
openeuler-ci-bot成员
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 .

likedislike
Yyangqi
9月12日 关联了pull request:fix: harden security-sensitive error handling
Yyangqi
9月12日 修改了issue 的描述
openeuler-ci-botopeneuler-ci-bot成员
9月15日 关闭了 issue
openeuler-ci-botopeneuler-ci-bot成员
9月15日 issue状态由 待办的 改变为 已完成