已开启
[Bug]: 修复AI扫描的std.core安全问题 #521
ding_hong_4创建于  3月30日
ding_hong_4
ding_hong_4仓颉Developer
3月30日 创建

感谢对仓颉社区的支持与关注,欢迎反馈缺陷。 | Thanks for your support and attention to the community. We welcome feedback on any issues.

发生了什么问题? | Describe the issue that occurred.

std中存在部分安全问题

期望行为是什么? | What is the expected behavior?

对安全问题进行修复

如何复现该缺陷? | How to reproduce the bug?

安全问题是AI审计出来的

其他补充信息 | Additional information

cjc版本信息 | cjc version information

Cangjie Compiler: 1.1.0-alpha.20260327010029 (cjnative)
Target: x86_64-unknown-linux-gnu

分支版本信息 | Branch version information


[x] dev(迭代版本)

[x] main(STS版本)

[x] release/1.0(LTS版本)

likedislike
ding_hong_4ding_hong_4仓颉Developer
3月30日 添加了label:bug
ding_hong_4ding_hong_4仓颉Developer
3月30日 关联了pull request:fix: add overflow protection for stringbuilder capacity
ding_hong_4ding_hong_4仓颉Developer
3月30日 关联了pull request:fix: add test cases for stringbuilder append with boundary values
ding_hong_4ding_hong_4仓颉Developer
4月3日 添加了label:1.2.0-alpha.01
ding_hong_4ding_hong_4仓颉Developer
4月14日 关联了pull request:fix: handle Int64.Min overflow in StringBuilder.append
ding_hong_4ding_hong_4仓颉Developer
4月14日 关联了pull request:fix: handle Int64.Min overflow in StringBuilder.append
ding_hong_4ding_hong_4仓颉Developer
4月14日 关联了pull request:fix: fix exceptions message format
ding_hong_4ding_hong_4仓颉Developer
4月14日 关联了pull request:fix: fix exceptions message format