1 Star 0 Fork 5

maqi/glusterfs

forked from src-anolis-os/glusterfs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0434-glusterd-ganesha-fix-Coverity-CID-1405785.patch 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2021-06-16 16:09 . update to glusterfs-6.0-49.1.el8.src.rpm
From 2ea3fc203671429d0aa9994e5bbd57f6a604523d Mon Sep 17 00:00:00 2001
From: Xie Changlong <xiechanglong@cmss.chinamobile.com>
Date: Mon, 28 Oct 2019 17:43:28 +0800
Subject: [PATCH 434/449] glusterd/ganesha: fix Coverity CID 1405785
To avoid double free
> upstream patch link: https://review.gluster.org/#/c/glusterfs/+/23630/
> updates: bz#789278
> Change-Id: I15ae54ed696295d4cb015668722e77983b062ccb
> Signed-off-by: Xie Changlong <xiechanglong@cmss.chinamobile.com>
BUG: 1787310
Change-Id: I15ae54ed696295d4cb015668722e77983b062ccb
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/202623
Tested-by: RHGS Build Bot <nigelb@redhat.com>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
---
xlators/mgmt/glusterd/src/glusterd-ganesha.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xlators/mgmt/glusterd/src/glusterd-ganesha.c b/xlators/mgmt/glusterd/src/glusterd-ganesha.c
index 06f028f..caba34f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-ganesha.c
+++ b/xlators/mgmt/glusterd/src/glusterd-ganesha.c
@@ -659,8 +659,8 @@ tear_down_cluster(gf_boolean_t run_teardown)
"Failed to close dir %s. Reason :"
" %s",
CONFDIR, strerror(errno));
- goto exit;
}
+ goto exit;
}
out:
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/maqi77/glusterfs.git
git@gitee.com:maqi77/glusterfs.git
maqi77
glusterfs
glusterfs
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385