fix illegal memroy access
(cherry picked from commit 8a3d90396c67c2d19b3f57b759dd1f27c294980f)
This commit is contained in:
parent
1dd890c943
commit
427b990d5d
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
|
Name: freeipmi
|
||||||
Version: 1.6.8
|
Version: 1.6.8
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: IPMI remote console and system management software
|
Summary: IPMI remote console and system management software
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/freeipmi/
|
URL: http://www.gnu.org/software/freeipmi/
|
||||||
@ -10,6 +10,7 @@ Source2: ipmidetectd.service
|
|||||||
Source3: ipmiseld.service
|
Source3: ipmiseld.service
|
||||||
Patch0: backport-0001-ipmi-config-fix-output-corner-case-due-to-missing-er.patch
|
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
|
Patch1: backport-0001-libfreeipmi-cmds-fix-invalid-template-check-error.patch
|
||||||
|
Patch2: 0001-fix-illegal-memory-access.patch
|
||||||
|
|
||||||
BuildRequires: libgcrypt-devel texinfo systemd gcc
|
BuildRequires: libgcrypt-devel texinfo systemd gcc
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -139,6 +140,9 @@ install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || :
|
|||||||
%exclude %{_infodir}/dir
|
%exclude %{_infodir}/dir
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 05 2023 chenmaodong <chenmaodong@xfusion.com> - 1.6.8-3
|
||||||
- fix invalid template check error
|
- fix invalid template check error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user