[Bug] Bug report from static analysis
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- c
调研方向
首先阅读 PVS-Studio 文章,并检查 commit cfda3b3 中的 RT-Thread 树。将每个报告的代码片段映射到其源代码位置,然后确定哪些发现可以复现并且值得处理。当相关发现都已决定处置方式,且所有已确认的缺陷都有对应的修复和验证时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
RT-Thread Version
https://github.com/RT-Thread/rt-thread/tree/cfda3b3d1a9935dd14dcb55e43065ca143d68fcf
Affected area
Other / Not sure
Hardware/BSP vendor
Not applicable / Other
Architecture
Not applicable / Other
Board and hardware details
Develop Toolchain
Other
Describe the bug
We analyzed the project for the cfda3b3 commit using PVS-Studio 7.43.
You can find all code fragments in the article: "How PVS-Studio helps enhance quality of embedded projects".
Other additional context
Hello.
I love that you shared your projects with the world. Thank you for that!
I checked RT-Thread using the PVS-Studio static analyzer and published an article: "How PVS-Studio helps enhance quality of embedded projects".
Perhaps you would like to take a look.
- 主要语言
- C
- 星标
- 12.4k
- 派生
- 5.5k
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 79
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RT-Thread/rt-thread 的其他 Issue
-
Arch: ARM/AArch64 Doc
难度 1/5 1 小时以内 新手友好度 90/100
RT-Thread/rt-thread#12082 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
RT-Thread/rt-thread#11951 · 2 条评论 ·
维护者通常 2 天内回复
-
[Bug] [libc] timer_gettime 拆秒前将总纳秒截断为 uint32_t,剩余时间查询错误可能重新可做 @Yunlk 于 28 天前认领,目前没有进行中的 PR。 未关闭in progress
难度 2/5 1-3 小时 新手友好度 68/100
RT-Thread/rt-thread#11924 · 7 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
[Bug] dfs_v2 tmpfs: ftruncate(fd, 0) frees the file buffer but reports success — use-after-free read/write and double free from a legal POSIX call可能已有人在做 @remukisama 于 33 天前认领。 未关闭in progress
难度 2/5 1-3 小时 新手友好度 78/100
RT-Thread/rt-thread#11902 · 4 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
[bsp][stm32][bluepill] README「快速上手」缺少重新生成 MDK 工程这一步,按文档操作无法编译通过可能重新可做 @moment-NEW 于 50 天前认领,目前没有进行中的 PR。 未关闭in progress
难度 2/5 1-3 小时 新手友好度 75/100
RT-Thread/rt-thread#11818 · 4 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
查看 RT-Thread/rt-thread 的全部 Issue
相似的 Issue
-
Builder: a structure opened without calculation data shows the Diffraction (fibre) view by default未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
FriendsofECCE/ECCE#1245 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/nuttx-apps#4108 · 4 条评论 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 84/100
VirtualBox/virtualbox#996 ·
维护者通常 6 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
trezor/trezor-firmware#8357 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复