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
38
Star
40
Fork
44
MindSpore
/
mindspore-lite
Code
Issues
14
Pull Requests
26
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
321
[Bugfix][provider] add safe check for integer input
Open
刘飞扬:r2.7
MindSpore:r2.7
刘飞扬
create on 2025-09-18 21:17
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
1. add safe check for integer input --- <!-- 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**: 对nnie的int输入(字符串格式)做安全校验,确保不会溢出。 **Which issue(s) this PR fixes**: <!-- 注意:在下方 #号 后仅输入issue编号或SR/AR编号,粘贴issue链接无效。 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> Fixes #ICYQCA **Code review checklist [【代码检视checklist说明】](https://gitee.com/mindspore/community/blob/master/security/code_review_checklist_mechanism.md)**: + - [ ] 是否进行返回值校验 (禁止使用void屏蔽安全函数、自研函数返回值,C++标准库函数确认无问题可以屏蔽) + - [ ] 是否遵守 ***SOLID原则 / 迪米特法则*** + - [ ] 是否具备UT测试用例看护 && 测试用例为有效用例 (若新特性无测试用例看护请说明原因) + - [ ] 是否为对外接口变更 + - [ ] 是否涉及官网文档修改 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 -->
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
jjfeing
yefeng
Completed
(0/0 )
The Pull Request can be automatically merged. , The target branch is a Protect branch and you do not have a merge permission
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
8
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
Link Issue
ICYQCA
[Bug]: 增加部分providers nnie参数的整数溢出校验
Milestone
No related milestones
Automatic processing
Delete branch after merge
The commit branch is a defualt branch and cannot be deleted
Close related Issues after merge
Use flattening for the Pull Request merger
After checking this option, it is recommended to use the Squash Merge method to consolidate to simplify the submission history
Participators
(2)
1
https://gitee.com/mindspore/mindspore-lite.git
[email protected]
: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