已合并
add pscstr check #2227
Leewis创建于 5月19日
add pscstr check #2227
已合并
Leewis创建于 5月19日
从已删除 :master合入到cann/hcommmaster
Leewis成员
5月19日

描述

增加pscstr 空串校验

变更类型

请选择本次引入的变更类型:

关联的Issue

https://gitcode.com/cann/hcomm/issues/218

测试

已完成的测试用例和场景:
1.
2.

补充的UT用例:

文档更新

合入检查

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Leewis 的贡献)
LLeewis成员
5月19日 关联了issue:[Bug-Report|缺陷反馈]: 命令注入风险(subprocess shell=True + 参数拼接)
CANN-robot
CANN-robot成员
5月19日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
src ✅ chenke2026, zhongqin2020, yangxiaoyuan (3/2) ✅ chenke2026 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

Leewis, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
5月19日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
5月19日 将leabclove,chengym,ccl_ligang,yanzhenghang,yanyefeng,dingweiqin_57,songmingyang,wenxuemin,yangxiaoyuan,laodazhao1,chenke2026,zhongqin2020,Innoecho,chenyia,temper7620,zhangxp1030,lilin_137,lilianlin_hw,ouyangxizi设为评审人
CANN-robotCANN-robot成员
5月19日 将leabclove,chengym,yanyefeng,dingweiqin_57,wenxuemin,chenke2026,Innoecho,temper7620设为审查人
Leewis成员
5月19日 评论:

/compile

likedislike
CANN-robotCANN-robot成员
5月19日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月19日 评论:

流水线任务触发成功
任务链接 [fb52f54fdb1f4207806dffba33a003b7][流水线指导]

任务名称状态日志下载链接
SCA ✅ SUCCESS
antipoison ✅ SUCCESS
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
ST_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
codecheck_style ✅ SUCCESS
UT_Test ✅ SUCCESS >>>>>
precommit ⚠️ WARNING >>>>> >>>>>
PreSmoke_A900_npupool ✅ SUCCESS >>>>>
PreSmoke_A3_npupool ✅ SUCCESS >>>>>

[2026-05-19 11:21:56]    CI执行结束

likedislike
CANN-robotCANN-robot成员
5月19日 添加了label:api-check-pass
CANN-robotCANN-robot成员
5月19日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
5月19日 添加了label:ci-pipeline-passed
zhongqin成员
5月19日 评论:

/lgtm

likedislike
yangxiaoyuan
yangxiaoyuan成员
5月19日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
5月19日 添加了label:lgtm
chenke2026成员
5月19日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
5月19日 添加了label:approved
CANN-robot
CANN-robot成员
5月19日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: chenke2026.
Reviewers who wrote a comment of /lgtm are: chenke2026, zhongqin2020, yangxiaoyuan.

likedislike
CANN-robotCANN-robot成员
5月19日 合入了pull request