已合并
crossNode节点收集适配 #31940
crossNode节点收集适配 #31940
已合并
sunzy创建于 8月3日
sunzy
sunzy
8月3日

Description:
自绘制节点收集适配crossNode
Issue number:
https://gitcode.com/openharmony/graphic_graphic_2d/issues/25474
Test & Result:
pass
CodeCheck:

类型 自检项 自检结果
多线程 在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护 自检结果:pass
定义全局变量,在多个函数中都有操作时,需要加锁保护 自检结果:pass
内存操作 调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃 自检结果:pass
内存操作优先使用安全函数,并检查其返回值 自检结果:pass
注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII) 自检结果:pass
隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针 自检结果:pass
外部输入 所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等 自检结果:pass
注意外部字符串数据有无尾0 自检结果:pass
外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性 自检结果:pass
敏感信息 注意日志中打印敏感信息需匿名化 自检结果:pass
数学运算 代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转 自检结果:pass
初始化 类成员、局部变量使用前需初始化 自检结果:pass
权限管理 作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问 自检结果:pass

L0新增用例自检结果

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 sunzy 的贡献)
sunzysunzy
8月3日 关联了issue:[Bug]: 自绘制节点收集适配crossNode
openharmony_ciopenharmony_ci成员
8月3日 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
8月3日 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
8月3日 添加了label:dco检查成功
sunzysunzy
8月4日 审查状态已重置,审查人: chuchengcheng
此处折叠了118条消息 查看更多
sunzy
sunzy
20 天前 评论:

submit

likedislike
openharmony_ciopenharmony_ci成员
20 天前 关闭了关联的issue
openharmony_ciopenharmony_ci成员
20 天前 合入了pull request,合并节点 SHA:09d77ea7174864b96781b738061c0c8b25c6cd4b
openharmony_ciopenharmony_ci成员
20 天前 删除了label:waiting_for_review
openharmony_ciopenharmony_ci成员
20 天前 添加了label:merged