31 lines
994 B
Diff
31 lines
994 B
Diff
From 7c307f7bbf9b8e94e88fab8e550a8c9f72aabad8 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
|
Date: Sat, 1 Jun 2019 10:02:50 +0200
|
|
Subject: [PATCH] fix parameter type for signal handler
|
|
|
|
The on_prompter_prompting signal handler used a struct as a otherwise unused parameter
|
|
while a pointer was passed by the caller. This led to a stack smashing on the ppc64le
|
|
platform and a segfault.
|
|
|
|
fixes https://bugzilla.redhat.com/show_bug.cgi?id=1631759
|
|
---
|
|
ui/gcr-prompter-tool.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/ui/gcr-prompter-tool.c b/ui/gcr-prompter-tool.c
|
|
index 0a22238..cd1cc56 100644
|
|
--- a/ui/gcr-prompter-tool.c
|
|
+++ b/ui/gcr-prompter-tool.c
|
|
@@ -72,7 +72,7 @@ stop_timeout (void)
|
|
|
|
static void
|
|
on_prompter_prompting (GObject *obj,
|
|
- GParamSpec param,
|
|
+ GParamSpec *param,
|
|
gpointer user_data)
|
|
{
|
|
if (gcr_system_prompter_get_prompting (the_prompter))
|
|
--
|
|
2.21.0
|
|
|