commit 710e182d6e60a347d80e604f5adae38fe9c782ee
parent 2696bbd0c30d0ce77be9091fa85f46129f14df50
Author: Tizian Leonhardt <tizianleonhardt@web.de>
Date: Sun, 29 Nov 2020 18:25:25 +0100
Fix passing userspace buffer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/read.c b/src/read.c
@@ -132,7 +132,7 @@ handle_pid(pid_t pid, __user char *buf, size_t size)
if(is_valid(str, size)) {
add_entry(pid);
- handle_compare(buf, pid, size);
+ handle_compare(str, pid, size);
} else {
//Throw out hashtable entries on invalid input
remove_entry(pid);