已合并
UnexcludeOutputDevices and ExcludeOutputDevices add judge nullptr #15303
UnexcludeOutputDevices and ExcludeOutputDevices add judge nullptr #15303
已合并
huang-jianfei201创建于 5月15日
5月15日

IssueNo:https://gitcode.com/openharmony/multimedia_audio_framework/issues/12528

Description:

静态扫描截图:

通用规范自检:

自检项 自检结果
成员变量命名,统一采用xxxx_ Y
换行优先使用4格缩进 Y
*和&运算符统一跟随之后的变量 Y
避免使用未明确位宽的整型,选择使用int32_t, uint32_t等类型 Y
时间常量命名加后缀_MS, _US等,按照用途命名而非值 Y

安全编码自检:

自检项 自检结果
外部传入的指针使用前是否判空 Y
外部传入数据,直接用于内存申请、数组长度、索引、循环条件前,必须进行合法性校验 Y
成员或局部变量,尤其是指针、资源描述符、bool变量必须赋初值 Y
内存分配后必须判断是否成功 Y
禁止打印内存地址、文件路径、设备名、MAC地址等敏感信息,如有需要,使用private修饰 Y
有符号、无符号整数之间运算、比较,确保不会出现溢出、反转、除0 Y
有无符号不允许混合计算,必须提前进行强转 Y
map\vector\list\set等对象存在多线程并发访问场景必须加锁 Y

进程安全自检:

自检项 自检结果
SA新增idl接口,需要根据功能控制可访问范围,通过权限、UID校验等方式校验 Y
SA新增idl接口,必须同时新增fuzz用例,并进行fuzz测试 NA
类反序列化结果用于内存申请、数组长度、循环条件前,必须进行合法性校验 NA

XTS Result:

TDD Result:

Fuzz Result:

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 huang-jianfei201 的贡献)
Hhuang-jianfei201
5月15日 关联了issue:[Bug]: UnexcludeOutputDevices and ExcludeOutputDevices add judge nullptr,挑OpenHarmony-6.1-Release
openharmony_ci
openharmony_ci成员
5月15日 评论:

OpenHarmony-6.1-Release所有代码仓合入受控, 请联系分支负责人@aiyongfu: aiyongfu@huawei.com, @shermanzhong: sherman.zhong@huawei.com, @lijie2025: lijie6@huawei.com, @RayShih: shirui721@huawei.com, @amy_mayun: zhuyanting@huawei.com, @huster_zwy: zhaowenyuan2_huawei.com, @chengongping: chengongping@huawei.com任一人评审并评论approve

likedislike
openharmony_ciopenharmony_ci成员
5月15日 添加了label:分支负责人未批准合入
openharmony_ciopenharmony_ci成员
5月15日 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
5月15日 评论:

感谢提交 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成员
5月15日 添加了label:dco检查成功
huang-jianfei201
5月15日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
5月15日 评论:

首次触发
门禁构建开始,包含静态检查、代码编译和测试【dayu200_tdd编译, dayu200编译, dayu200测试】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a06e80b64650f998b45dec5/runlist

likedislike
openharmony_ciopenharmony_ci成员
5月15日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
5月15日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
5月15日 添加了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
5月15日 评论:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a06e80b64650f998b45dec5/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success failed([05209] upgrade success, but the smoke testing has a fatal problem,get help from https://gitee.com/lnlan/screenshot_test_tools/blob/master/DAYU200_smoke_failed_why_and_how_to_handle.md) >>>
2 dayu200_tdd success NA >>>

likedislike
huang-jianfei201
5月17日 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
5月17日 删除了label:编译成功
openharmony_ciopenharmony_ci成员
5月17日 删除了label:静态检查成功
openharmony_ciopenharmony_ci成员
5月17日 删除了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
5月17日 评论:

上次构建已超过12小时,重新全量验证,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【dayu200_tdd编译, dayu200测试, dayu200编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a09620664650f998bad2d5d/runlist

likedislike
openharmony_ciopenharmony_ci成员
5月17日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
5月17日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
5月17日 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
5月17日 通过测试
openharmony_ci
openharmony_ci成员
5月17日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a09620664650f998bad2d5d/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>

likedislike
openharmony_ciopenharmony_ci成员
5月17日 删除了label:waiting_on_author
openharmony_ciopenharmony_ci成员
5月17日 添加了label:waiting_for_review
openharmony_ci
openharmony_ci成员
5月17日 评论:

您好,Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
GGisaacj成员
5月18日 通过审查
openharmony_ci
openharmony_ci成员
5月18日 评论:

验证结果已超过12小时,之前验证结果无效,自动重新触发构建,请关注最新验证结果

likedislike
openharmony_ci
openharmony_ci成员
5月18日 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
5月18日 删除了label:编译成功
openharmony_ciopenharmony_ci成员
5月18日 删除了label:静态检查成功
openharmony_ciopenharmony_ci成员
5月18日 删除了label:冒烟测试成功
openharmony_ci
openharmony_ci成员
5月18日 评论:

上次构建已超过12小时,重新全量验证,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【dayu200_tdd编译, dayu200编译, dayu200测试】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a0a67ec64650f998b2d7a49/runlist

likedislike
openharmony_ciopenharmony_ci成员
5月18日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
5月18日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
5月18日 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
5月18日 通过测试
openharmony_ci
openharmony_ci成员
5月18日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a0a67ec64650f998b2d7a49/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>

likedislike
openharmony_ci
openharmony_ci成员
5月18日 评论:

您好,Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
zhongxiaoming
zhongxiaoming成员
5月18日 评论:

approv

likedislike
huang-jianfei201
5月18日 评论:

submit

likedislike
huang-jianfei201
5月18日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
5月18日 评论:

距离上次门禁验证通过未超过12小时,且目标分支和本地源分支代码均无变化,无需进行门禁构建,默认测试通过

likedislike
openharmony_ciopenharmony_ci成员
5月18日 通过测试
zhongxiaoming
zhongxiaoming成员
5月18日 评论:

approve

likedislike
openharmony_ciopenharmony_ci成员
5月18日 删除了label:分支负责人未批准合入
openharmony_ciopenharmony_ci成员
5月18日 关闭了关联的issue
openharmony_ciopenharmony_ci成员
5月18日 合入了pull request,合并节点 SHA:ac66942015345a2aa190bb1997d4b90fdb609437
openharmony_ciopenharmony_ci成员
5月18日 删除了label:waiting_for_review
openharmony_ciopenharmony_ci成员
5月18日 添加了label:merged
lijie
5月27日 评论:

approve

likedislike