d044265143
- kdump-fix-m_threads-missing-initialization.patch: Fix m_threads missing initialization (bsc#1047609). - kdump-try-both-kexec_load-and-kexec_file_load.patch: Try both kexec_load(2) and kexec_file_load(2) (bsc#951144). - kdump-kdump_echo-and-kdump_logger-helpers.patch: load.sh: introduce kdump_echo and kdump_logger helpers (bsc#951144). OBS-URL: https://build.opensuse.org/request/show/569859 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=145
29 lines
900 B
Diff
29 lines
900 B
Diff
From: Lance Wang <lzwang@suse.com>
|
|
Date: Fri, 19 Jan 2018 16:05:42 +0800
|
|
Subject: Fix m_threads missing initialization
|
|
References: bsc#1047609
|
|
Upstream: merged
|
|
Git-commit: 0905910da2eaa856a0e8bf26bbe6b5e4e9dc0788
|
|
|
|
kdumptool randomly outputs value for --num-threads.
|
|
So an error like following happened:
|
|
|
|
makedumpfile --num-threads 5223023572093018873 -d 31 -l /proc/vmcore.
|
|
|
|
Signed-off-by: Lance Wang <lzwang@suse.com>
|
|
---
|
|
kdumptool/savedump.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/kdumptool/savedump.cc
|
|
+++ b/kdumptool/savedump.cc
|
|
@@ -61,7 +61,7 @@ using std::ifstream;
|
|
SaveDump::SaveDump()
|
|
throw ()
|
|
: m_dump(DEFAULT_DUMP), m_transfer(NULL), m_usedDirectSave(false),
|
|
- m_useMakedumpfile(false), m_split(0), m_nomail(false)
|
|
+ m_useMakedumpfile(false), m_split(0), m_threads(0), m_nomail(false)
|
|
{
|
|
Debug::debug()->trace("SaveDump::SaveDump()");
|
|
|