登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
3月21日 深圳|OpenClaw 线下实战沙龙:招聘、资讯、项目协同三大场景实操,VS ZeroClaw 横向对比评测,别再只会装,来现场跑通真实业务!
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
8
Star
0
Fork
18
src-openEuler
/
mdadm
关闭
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
回合上游社区补丁,补丁数量:10
已完成
#IAMIF2
缺陷
peulerosci
创建于
2024-08-26 15:20
<h3>优先级:</h3><p>次要</p><p></p><h3>原因分析:</h3><p></p><p>【是否新引入rpm包,是否进行了安全编译选项扫描】</p><p></p><p>否</p><p></p><p>【定位分析】</p><p></p><p>回合社区补丁</p><p></p><p></p><p></p><table ><tr><td colSpan="1" rowSpan="1">软件包</td><td colSpan="1" rowSpan="1">CommitId</td><td colSpan="1" rowSpan="1">描述</td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">48c365376ce7763fd9a9e7735b1e9ec5d0ff1631</td><td colSpan="1" rowSpan="1">mapfile.c: Fix STRING_OVERFLOW issueFix STRING_OVERFLOW issue found by SAST analysis in map_add() andmap_update() in mapfile.c.Signed-off-by: Anna Sztukowska </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">3e6358e9aa0618f6a7de3a58e545caaada03739f</td><td colSpan="1" rowSpan="1">mdadm: Assemble.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event dereference: Dereferencing pre_exist, which is known to be NULL.* Event parameter_hidden: Declaration hides parameter c.* Event leaked_storage: Variable pre_exist going out of scope leaks thestorage it points to.* Event leaked_storage: Variable avail going out of scope leaks thestorage it points to.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">44457789fd67168c37932060f9a991f0c611e5a2</td><td colSpan="1" rowSpan="1">config.c: Fix memory leak in load_containers()Fix memory leak in load_containers() in config.c reported by SASTanalysis.Signed-off-by: Anna Sztukowska </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">f34040081c36ff92180674b89c39ddc7bdd47288</td><td colSpan="1" rowSpan="1">mdadm/mdopen: fix coverity issue CHECKED_RETURNIt needs to check return values when functions return value.Signed-off-by: Xiao Ni Signed-off-by: Mariusz Tkaczyk </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">5cb6df3f190feccc8b3e82da2b01a0e01e612a25</td><td colSpan="1" rowSpan="1">mdadm: Monitor.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling fcntl(fd, 2, 1) without checkingreturn value. This library function may fail and return an error code.* Dereferencing sl, which is known to be NULL.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying tmp without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">da7aecdf25371e1476da4ec56e9ec5ddf13af5da</td><td colSpan="1" rowSpan="1">mdadm: lib.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying cp + 1 without checking the length.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying cp without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">eb9834599c8c9764bb3e711b6f291b10797eff27</td><td colSpan="1" rowSpan="1">mdadm/super1: fix coverity issue CHECKED_RETURNIt needs to check return value when functions return value.Signed-off-by: Xiao Ni Signed-off-by: Mariusz Tkaczyk </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">87f96c870399cd029933a9742ba72e85e3251c3e</td><td colSpan="1" rowSpan="1">mdadm: msg.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling fcntl(sfd, 4, fl) withoutchecking return value. This library function may fail andreturn an error code.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">ea076e7c4bc8b3122ad9d7131098c4b85902a299</td><td colSpan="1" rowSpan="1">mdadm: util.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling open without checking return value* Event check_return: Calling lseek(fd, sector_size, 0) withoutchecking return value.* Event leaked_handle: Handle variable fd going out of scope leaksthe handle.* Event leaked_storage: Variable dir going out of scope leaks thestorage it points to.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring st->devnm by copying _devnm without checking the length.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring container by copying dev without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">18eaf6c5206a37ad059c930d1ee2dbc9b7297513</td><td colSpan="1" rowSpan="1">mdadm: sysfs.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event fixed_size_dest: You might overrun the 32-characterfixed-size string mdi->sys_name by copying devnm withoutchecking the length* Event fixed_size_dest: You might overrun the 50-characterfixed-size string sra->text_version by copying buf + 9without checking the length.* Event string_overflow: You might overrun the 32-characterdestination string dev->sys_name by writing 256 charactersfrom de->d_name.Signed-off-by: Nigel Croxon </td></tr></table><p></p><p></p><p></p><p></p><p></p><p>【对外部是否有影响】</p><p></p><p>否</p><p></p><p></p>
<h3>优先级:</h3><p>次要</p><p></p><h3>原因分析:</h3><p></p><p>【是否新引入rpm包,是否进行了安全编译选项扫描】</p><p></p><p>否</p><p></p><p>【定位分析】</p><p></p><p>回合社区补丁</p><p></p><p></p><p></p><table ><tr><td colSpan="1" rowSpan="1">软件包</td><td colSpan="1" rowSpan="1">CommitId</td><td colSpan="1" rowSpan="1">描述</td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">48c365376ce7763fd9a9e7735b1e9ec5d0ff1631</td><td colSpan="1" rowSpan="1">mapfile.c: Fix STRING_OVERFLOW issueFix STRING_OVERFLOW issue found by SAST analysis in map_add() andmap_update() in mapfile.c.Signed-off-by: Anna Sztukowska </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">3e6358e9aa0618f6a7de3a58e545caaada03739f</td><td colSpan="1" rowSpan="1">mdadm: Assemble.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event dereference: Dereferencing pre_exist, which is known to be NULL.* Event parameter_hidden: Declaration hides parameter c.* Event leaked_storage: Variable pre_exist going out of scope leaks thestorage it points to.* Event leaked_storage: Variable avail going out of scope leaks thestorage it points to.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">44457789fd67168c37932060f9a991f0c611e5a2</td><td colSpan="1" rowSpan="1">config.c: Fix memory leak in load_containers()Fix memory leak in load_containers() in config.c reported by SASTanalysis.Signed-off-by: Anna Sztukowska </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">f34040081c36ff92180674b89c39ddc7bdd47288</td><td colSpan="1" rowSpan="1">mdadm/mdopen: fix coverity issue CHECKED_RETURNIt needs to check return values when functions return value.Signed-off-by: Xiao Ni Signed-off-by: Mariusz Tkaczyk </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">5cb6df3f190feccc8b3e82da2b01a0e01e612a25</td><td colSpan="1" rowSpan="1">mdadm: Monitor.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling fcntl(fd, 2, 1) without checkingreturn value. This library function may fail and return an error code.* Dereferencing sl, which is known to be NULL.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying tmp without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">da7aecdf25371e1476da4ec56e9ec5ddf13af5da</td><td colSpan="1" rowSpan="1">mdadm: lib.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying cp + 1 without checking the length.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring devnm by copying cp without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">eb9834599c8c9764bb3e711b6f291b10797eff27</td><td colSpan="1" rowSpan="1">mdadm/super1: fix coverity issue CHECKED_RETURNIt needs to check return value when functions return value.Signed-off-by: Xiao Ni Signed-off-by: Mariusz Tkaczyk </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">87f96c870399cd029933a9742ba72e85e3251c3e</td><td colSpan="1" rowSpan="1">mdadm: msg.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling fcntl(sfd, 4, fl) withoutchecking return value. This library function may fail andreturn an error code.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">ea076e7c4bc8b3122ad9d7131098c4b85902a299</td><td colSpan="1" rowSpan="1">mdadm: util.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event check_return: Calling open without checking return value* Event check_return: Calling lseek(fd, sector_size, 0) withoutchecking return value.* Event leaked_handle: Handle variable fd going out of scope leaksthe handle.* Event leaked_storage: Variable dir going out of scope leaks thestorage it points to.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring st->devnm by copying _devnm without checking the length.* Event fixed_size_dest: You might overrun the 32-character fixed-sizestring container by copying dev without checking the length.Signed-off-by: Nigel Croxon </td></tr><tr><td colSpan="1" rowSpan="1">openEuler:mdadm</td><td colSpan="1" rowSpan="1">18eaf6c5206a37ad059c930d1ee2dbc9b7297513</td><td colSpan="1" rowSpan="1">mdadm: sysfs.c fix coverity issuesFixing the following coding errors the coverity tools found:* Event fixed_size_dest: You might overrun the 32-characterfixed-size string mdi->sys_name by copying devnm withoutchecking the length* Event fixed_size_dest: You might overrun the 50-characterfixed-size string sra->text_version by copying buf + 9without checking the length.* Event string_overflow: You might overrun the 32-characterdestination string dev->sys_name by writing 256 charactersfrom de->d_name.Signed-off-by: Nigel Croxon </td></tr></table><p></p><p></p><p></p><p></p><p></p><p>【对外部是否有影响】</p><p></p><p>否</p><p></p><p></p>
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
sig/Storage
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (29)
标签 (26)
master
openEuler-25.09
openEuler-25.03
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-Next
openEuler-24.03-LTS
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-24.09
openEuler-22.03-LTS
openEuler-22.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-23.09
openEuler-20.03-LTS-SP3
openEuler-23.03
openEuler-22.09
openEuler-21.03
openEuler-21.09
openEuler-20.09
openEuler-20.03-LTS
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP2
openEuler1.0
openEuler1.0-base
openEuler-22.03-LTS-SP3-update-20251024
openEuler-22.03-LTS-SP4-update-20251024
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/src-openeuler/mdadm.git
git@gitee.com:src-openeuler/mdadm.git
src-openeuler
mdadm
mdadm
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册