1 Star 0 Fork 43

pojunxing/openldap

forked from src-openEuler/openldap 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-ITS-9802-slapd-meta-fix-rewrite-config-SEGV.patch 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
compile_success 提交于 2022-11-07 12:04 . backport patch
From d878ebc3d264dcecb211cf7aacd9d079bd5c5a50 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Tue, 15 Mar 2022 16:46:09 +0000
Subject: [PATCH] ITS#9802 slapd-meta: fix rewrite config SEGV
---
servers/slapd/back-meta/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c
index 51d090ff0..ad7fbce44 100644
--- a/servers/slapd/back-meta/config.c
+++ b/servers/slapd/back-meta/config.c
@@ -2662,9 +2662,9 @@ idassert-authzFrom "dn:<rootdn>"
c->fname, c->lineno, ca.argc, ca.argv );
}
assert( rc == 0 );
- ch_free( ca.argv );
ch_free( ca.tline );
}
+ ch_free( ca.argv );
}
argc = c->argc;
argv = c->argv;
@@ -2699,9 +2699,9 @@ idassert-authzFrom "dn:<rootdn>"
c->fname, c->lineno, ca.argc, argv );
}
assert( rc == 0 );
- ch_free( ca.argv );
ch_free( ca.tline );
}
+ ch_free( ca.argv );
}
/* save the rule info */
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chengyechun/openldap.git
git@gitee.com:chengyechun/openldap.git
chengyechun
openldap
openldap
master

搜索帮助