Home GnuPG

Fix incorrect callback arguments

Description

Fix incorrect callback arguments

* src/gpa-marshal.list: Add two entries.
* src/gpacontext.c (gpa_context_class_init): Fix "progress" signal.
* src/gpakeyexpireop.c (gpa_key_expire_operation_class_init):
Use gpa_marshal_VOID__POINTER_POINTER.

Some users reported a crash downstream in Gentoo with
g_type_check_is_value_type getting a garbage type. This turns out to
be because 95e07080a2a08196cafb05b69345ea1d629424b1 replaced the
types (and argument counts) incorrectly.

Fix that by adding to gpa_marshal.list to create custom marshal types
and use those instead, and fix the argument count.

Bug: https://bugs.gentoo.org/957196
Fixes: 95e07080a2a08196cafb05b69345ea1d629424b1

ChangeLog entries added by wk.

  • Signed-off-by: Sam James <sam@gentoo.org>

Details

Provenance
Sam James via Gnupg-devel <gnupg-devel@gnupg.org>Authored on Sun, Aug 10, 4:36 AM
wernerCommitted on Mon, Aug 11, 3:42 PM
Parents
rGPAfca0f819ce4b: Fix mixed declarations and code
Branches
Unknown
Tags
Unknown
References
HEAD -> master

Event Timeline

werner committed rGPA45fc64a4ac9f: Fix incorrect callback arguments (authored by Sam James via Gnupg-devel <gnupg-devel@gnupg.org>).Mon, Aug 11, 3:42 PM