aboutsummaryrefslogtreecommitdiffstats
path: root/common/session-env.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2012-10-31 07:09:06 +0000
committerWerner Koch <[email protected]>2012-11-02 15:22:26 +0000
commit8f8c29d24ca13f987e6c118702b428a2051b7072 (patch)
tree272f147c424b6a109e753fdd203f2a113044bc5d /common/session-env.c
parentSCD: Upon error, open_pcsc_reader_wrapped does same as _direct. (diff)
downloadgnupg-8f8c29d24ca13f987e6c118702b428a2051b7072.tar.gz
gnupg-8f8c29d24ca13f987e6c118702b428a2051b7072.zip
agent: Fix wrong use of gcry_sexp_build_array
* findkey.c (agent_public_key_from_file): Fix use of gcry_sexp_build_array. -- A test case leading to a segv in Libgcrypt is gpg-connect-agent \ "READKEY 9277C5875C8AFFCB727661C18BE4E0A0DEED9260" /bye The keygrip was created by "monkeysphere s", which has a comment. gcry_sexp_build_array expects pointers to the arguments which is quite surprising. Probably ARG_NEXT was accidentally implemented wrongly. Anyway, we can't do anything about it and thus need to fix the check the users of this function. Some-comments-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/session-env.c')
0 files changed, 0 insertions, 0 deletions