<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2199: [gpgme] Sending ^C while running pinentry segfaults Mutt



Synopsis: [gpgme] Sending ^C while running pinentry segfaults Mutt

State-Changed-From-To: chatting->analyzed
State-Changed-By: tamo
State-Changed-When: Sat, 29 Apr 2006 13:31:45 +0200
State-Changed-Why:
GPGME returns "result" without "result->signatures"
and Mutt uses "result->signatures->hash_algo".




**** Comment added by tamo on Sat, 29 Apr 2006 13:31:45 +0200 ****
 Patch attached.


>From "info gpgme 'Creating a Signature'":

> -- Data type: gpgme_sign_result_t
>     This is a pointer to a structure used to store the result of a
>     `gpgme_op_sign' operation.  After successfully generating a
>     signature, you can retrieve the pointer to the result with
>     `gpgme_op_sign_result'.  The structure contains the following
>     members:
>
>    `gpgme_invalid_key_t invalid_signers'
>          A linked list with information about all invalid keys for
>          which a signature could not be created.
>
>    `gpgme_new_signature_t signatures'
>          A linked list with information about all signatures created.

Hmm, I don't know whether or not it is a bug if a gpgme_sign_result_t
has no "signatures". But it happens. ;)