[seahorse/gnome-3-32] pgp: hks: segfault while syncing GnuPG keys to HKP server
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse/gnome-3-32] pgp: hks: segfault while syncing GnuPG keys to HKP server
- Date: Fri, 19 Apr 2019 19:09:17 +0000 (UTC)
commit d40a6c9397d9d9a12b5de514552173252dbe110a
Author: Cengiz Can <cengizc gmail com>
Date: Mon Apr 8 16:18:30 2019 +0300
pgp: hks: segfault while syncing GnuPG keys to HKP server
Cherry-picked from commit 54711cf2e6c264ce56abf186874e80cb2fd9e672
Fixes: https://gitlab.gnome.org/GNOME/seahorse/issues/224
Signed-off-by: Cengiz Can <cengizc gmail com>
pgp/seahorse-hkp-source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pgp/seahorse-hkp-source.c b/pgp/seahorse-hkp-source.c
index 2b5792cb..2ea782d4 100644
--- a/pgp/seahorse-hkp-source.c
+++ b/pgp/seahorse-hkp-source.c
@@ -975,7 +975,7 @@ seahorse_hkp_source_export_finish (SeahorseServerSource *source,
g_return_val_if_fail (g_task_is_valid (result, source), NULL);
closure = g_task_get_task_data (G_TASK (result));
- *size = closure->data->len;
+ *size = closure->data_len;
return g_task_propagate_pointer (G_TASK (result), error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]