lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed,  1 Nov 2017 13:04:22 +0200
From:   "Yordan Karadzhov (VMware)" <y.karadz@...il.com>
To:     rostedt@...dmis.org
Cc:     jan.kiszka@...mens.com, linux-kernel@...r.kernel.org,
        "Yordan Karadzhov (VMware)" <y.karadz@...il.com>
Subject: [PATCH 1/2] kernelshark: Fix the GUI plugin loading

In add_plugin(const char *): wrong file name used when loading a plugin.

Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@...il.com>
---
 kernel-shark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel-shark.c b/kernel-shark.c
index c952302..89723c3 100644
--- a/kernel-shark.c
+++ b/kernel-shark.c
@@ -1816,7 +1816,7 @@ static void add_plugin(const char *file)
 	struct stat st;
 	int ret;
 
-	ret = stat(default_input_file, &st);
+	ret = stat(file, &st);
 	if (ret < 0) {
 		warning("plugin %s not found", file);
 		return;
-- 
2.15.0.rc0

Powered by blists - more mailing lists