Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
39
Star
44
Fork
49
MindSpore
/
mindspore-lite
Code
Issues
29
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
370
[Bugfix] bugfix for substr in lite utils
Merged
刘飞扬:r2.7
MindSpore:r2.7
刘飞扬
create on 2025-10-13 21:28
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
1. bugfix for substr in lite utils --- <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore-lite/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label `mindspore-assistant` to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 `/kind <label>`,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind bug **What does this PR do / why do we need it**: 修改minddata AclLiteUtils中substr逻辑的问题(第二个arg可能小于0)。 **Which issue(s) this PR fixes**: <!-- 注意:在下方 #号 后仅输入issue编号或SR/AR编号,粘贴issue链接无效。 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> Fixes #ICZYZ2 **Code review checklist [【代码检视checklist说明】](https://gitee.com/mindspore/community/blob/master/security/code_review_checklist_mechanism.md)**: + - [x] 是否进行返回值校验 (禁止使用void屏蔽安全函数、自研函数返回值,C++标准库函数确认无问题可以屏蔽) + - [x] 是否遵守 ***SOLID原则 / 迪米特法则*** + - [x] 是否具备UT测试用例看护 && 测试用例为有效用例 (若新特性无测试用例看护请说明原因) + - [x] 是否为对外接口变更 + - [x] 是否涉及官网文档修改 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 -->
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
jjfeing
yefeng
Completed
(0/0 )
How to merge Pull Request
git checkout r2.7
git pull https://gitee.com/liuf9/mindspore-lite.git r2.7
git push origin r2.7
Comments
6
Commits
1
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
fengyixing
fengyixing
zhuguodong
fatmouse007fatmouse007
BigSkySea
BigSkySea
lujiale
ljl0711
ZhangZGC
zhangzhugucheng
rainyhorse
rainyhorse
徐安越
xu_anyue
jianghui58
jianghui58
熊攀
xiong-pan
Emma
qian-dan
yangyingchun
yangyingchun1999
LLLRT
lllrt
胡彬
hbhu_bin
刘飞扬
liuf9
nepdada
nepdada
杨卉
yanghui00
liuchengji
liuchengji3
xiaoxin_zhang
zxx_xxz
qiuleilei
qll1998
guanqi
guanqi88
yihangchen
chenyihang5
zhaochenjie
zhaochenjie-huawei
xuzhen
xuzhenyoumi
wangyin
wangyin888
jiaxueyu
jiaxueyu
yanghaoran
nicholas_yhr
jjfeing
jjfeing
yefeng
YeFeng_24
No Setting
Min number
0
Tester
fengyixing
fengyixing
zhuguodong
fatmouse007fatmouse007
BigSkySea
BigSkySea
lujiale
ljl0711
ZhangZGC
zhangzhugucheng
rainyhorse
rainyhorse
徐安越
xu_anyue
jianghui58
jianghui58
熊攀
xiong-pan
Emma
qian-dan
yangyingchun
yangyingchun1999
LLLRT
lllrt
胡彬
hbhu_bin
刘飞扬
liuf9
nepdada
nepdada
杨卉
yanghui00
liuchengji
liuchengji3
xiaoxin_zhang
zxx_xxz
qiuleilei
qll1998
guanqi
guanqi88
yihangchen
chenyihang5
zhaochenjie
zhaochenjie-huawei
xuzhen
xuzhenyoumi
wangyin
wangyin888
jiaxueyu
jiaxueyu
yanghaoran
nicholas_yhr
jjfeing
jjfeing
yefeng
YeFeng_24
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
mindspore-cla/yes
ci-pipeline-passed
pr-check-fail
Link Issue
ICZYZ2
[Bug]: 代码自检问题修复
Milestone
No related milestones
MindSpore Lite 2.8.0
Participators
(2)
1
https://gitee.com/mindspore/mindspore-lite.git
git@gitee.com:mindspore/mindspore-lite.git
mindspore
mindspore-lite
mindspore-lite
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register