已合并
fix createConnection return errcode #11387
fix createConnection return errcode #11387
已合并
wangJE创建于 2025年12月26日
wangJE成员
2025年12月26日

相关的Issue

https://gitcode.com/openharmony/communication_dsoftbus/issues/8755

原因(目的、解决的问题等)

描述(做了什么,变更了什么)

验证结果(新增、改动、可能影响的功能)

日志规范自检:

安全编码自检:

是否已执行L0用例

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 wangJE 的贡献)
WwangJE成员
2025年12月26日 关联了issue:linkEnhance 错误码整改
openharmony_ciopenharmony_ci成员
2025年12月26日 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
2025年12月26日 评论:

感谢提交 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成员
2025年12月26日 添加了label:dco检查成功
wangJE成员
2025年12月26日 评论:

⚠️ 🤖 AI 代码检视报告 ⚠️

总体评估: NEEDS_ATTENTION

问题统计:

  • 总问题数: 3
  • 严重问题: 2
  • 高危问题: 1

摘要:
该PR在参数校验中增加了长度检查,但存在严重隐患:删除了关键错误码处理逻辑,可能导致上层无法感知连接失败;且新引入的最大长度宏定义缺乏对底层缓冲区一致性的验证,存在潜在的溢出风险。

📊 详细报告
查看完整的审查详情,包括具体的问题描述、建议和代码位置:
🔗 查看详细报告


此评论由 OpenHarmony Insight 代码审查系统自动生成

likedislike
此处折叠了106条消息 查看更多
openharmony_dcp
openharmony_dcp成员
2025年12月27日 评论:

提交次数已达到或超过3次,为了保证上库效率和减少构建资源浪费,请点击链接观看学习视频,谢谢!https://dcp.openharmony.cn/workbench/video/videoDisplay

likedislike
openharmony_ciopenharmony_ci成员
2025年12月27日 关闭了关联的issue
openharmony_ciopenharmony_ci成员
2025年12月27日 合入了pull request,合并节点 SHA:dd928e0c4a15bfac89ee5d16512ab4d3ddceee9a
openharmony_ciopenharmony_ci成员
2025年12月27日 删除了label:waiting_for_review
openharmony_ciopenharmony_ci成员
2025年12月27日 添加了label:merged