!21 [sync] PR-20: fix illegal memory access
From: @openeuler-sync-bot Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
5c8f0e54e0
25
0001-fix-illegal-memory-access.patch
Normal file
25
0001-fix-illegal-memory-access.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From bd891f8dfaf8ccd0d90d385f50885f0e03f3ba48 Mon Sep 17 00:00:00 2001
|
||||
From: wang--ge <wang__ge@126.com>
|
||||
Date: Tue, 21 Mar 2023 16:58:07 +0800
|
||||
Subject: [PATCH] fix illegal memory access
|
||||
|
||||
---
|
||||
ipmiseld/ipmiseld-cache.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ipmiseld/ipmiseld-cache.c b/ipmiseld/ipmiseld-cache.c
|
||||
index bad1d7a..317cb83 100644
|
||||
--- a/ipmiseld/ipmiseld-cache.c
|
||||
+++ b/ipmiseld/ipmiseld-cache.c
|
||||
@@ -245,7 +245,7 @@ ipmiseld_sdr_cache_create_and_load (ipmiseld_host_data_t *host_data)
|
||||
cleanup:
|
||||
if (strlen (filename))
|
||||
ipmi_sdr_cache_delete (host_data->host_poll->sdr_ctx, filename);
|
||||
- ipmi_sdr_ctx_destroy (host_data->host_poll->sdr_ctx);
|
||||
+ //ipmi_sdr_ctx_destroy (host_data->host_poll->sdr_ctx);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: freeipmi
|
||||
Version: 1.6.8
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: IPMI remote console and system management software
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/freeipmi/
|
||||
@ -10,6 +10,7 @@ Source2: ipmidetectd.service
|
||||
Source3: ipmiseld.service
|
||||
Patch0: backport-0001-ipmi-config-fix-output-corner-case-due-to-missing-er.patch
|
||||
Patch1: backport-0001-libfreeipmi-cmds-fix-invalid-template-check-error.patch
|
||||
Patch2: 0001-fix-illegal-memory-access.patch
|
||||
|
||||
BuildRequires: libgcrypt-devel texinfo systemd gcc
|
||||
%{?systemd_requires}
|
||||
@ -139,6 +140,9 @@ install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || :
|
||||
%exclude %{_infodir}/dir
|
||||
|
||||
%changelog
|
||||
* Wed Mar 22 2023 Ge Wang <wangge20@h-partners.com> - 1.6.8-4
|
||||
- fix illegal memory access
|
||||
|
||||
* Thu Jan 05 2023 chenmaodong <chenmaodong@xfusion.com> - 1.6.8-3
|
||||
- fix invalid template check error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user