1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/agent
NIIBE Yutaka d5c46ac6f4 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 <wk@gnupg.org>
2012-11-02 16:32:15 +01:00
..
agent.h Support a confirm flag for ssh. 2011-08-04 14:42:31 +02:00
cache.c Fix bug #1053 2009-05-15 11:16:28 +00:00
call-pinentry.c Actually show translators comments in PO files 2012-08-24 10:33:28 +02:00
call-scd.c Fix a bug where scdaemon kills a non-daemon gpg-agent. 2010-11-11 15:08:48 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
command-ssh.c Support a confirm flag for ssh. 2011-08-04 14:42:31 +02:00
command.c New option --ssh-fpr for the agent:KEYINFO command 2011-08-04 15:00:58 +02:00
divert-scd.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
findkey.c agent: Fix wrong use of gcry_sexp_build_array 2012-11-02 16:32:15 +01:00
genkey.c Fix typos spotted during translations 2012-08-24 10:34:43 +02:00
gpg-agent.c Add provisions to build with Libgcrypt 1.6. 2012-05-24 10:55:11 +02:00
keyformat.txt Add more passphrase policy rules. 2007-08-28 17:48:13 +00:00
learncard.c app-openpgp changes 2009-06-09 19:11:28 +00:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
minip12.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
minip12.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
pkdecrypt.c Fix bug #1053 2009-05-15 11:16:28 +00:00
pksign.c Fix bug #1053 2009-05-15 11:16:28 +00:00
preset-passphrase.c Fix bug#1198 2010-05-12 11:03:28 +00:00
protect-tool.c Implement dynamic S2K count computation for GPGSM 2009-12-14 20:18:53 +00:00
protect.c Fixed backport of libassuan-2 changes. 2010-02-18 10:45:01 +00:00
t-protect.c Marked all unused args on non-W32 platforms. 2008-10-20 13:53:23 +00:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c Fix realloc usage. Fixes bug#1163. 2009-12-02 19:02:33 +00:00
w32main.c Fixed segv in gpg-agent (command marktrusted). 2008-05-27 12:03:50 +00:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00