!49 fix CVE-2021-20269

From: @chenhaixaing 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-08-03 09:40:42 +00:00 committed by Gitee
commit 88ea0604d9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -164,7 +164,7 @@ save_vmcore_dmesg_fs() {
_exitcode=$?
if [ $_exitcode -eq 0 ]; then
mv ${_path}/vmcore-dmesg-incomplete.txt ${_path}/vmcore-dmesg.txt
chmod 400 ${_path}/vmcore-dmesg.txt
# Make sure file is on disk. There have been instances where later
# saving vmcore failed and system rebooted without sync and there
# was no vmcore-dmesg.txt available.

View File

@ -4,7 +4,7 @@
Name: kexec-tools
Version: 2.0.23
Release: 5
Release: 6
License: GPLv2
Summary: The kexec/kdump userspace component
URL: https://www.kernel.org/
@ -288,6 +288,9 @@ done
%endif
%changelog
* Wed Aug 3 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.23-6
- fix CVE-2021-20269
* Fri Mar 11 2022 wangbin <wangbin224@huawei.com> - 2.0.23-5
- packing 98-kexec.rules instead of 98-kexec.rules.ppc64