1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00
gnupg/agent
NIIBE Yutaka 8f8c29d24c 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:22:26 +01:00
..
agent.h agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
cache.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
call-pinentry.c Actually show translators comments in PO files 2012-08-24 09:42:31 +02:00
call-scd.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
command.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
cvt-openpgp.c Fix size_t vs int issues. 2011-06-01 21:43:30 +02:00
cvt-openpgp.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
divert-scd.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
findkey.c agent: Fix wrong use of gcry_sexp_build_array 2012-11-02 16:22:26 +01:00
genkey.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
gpg-agent.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
keyformat.txt agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
Makefile.am Port to npth. 2012-01-25 14:50:47 +01:00
pkdecrypt.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
pksign.c Fix ECDSA 521 bit signing. 2011-02-07 14:38:39 +01:00
preset-passphrase.c common: Add a global variable to for the default error source. 2012-02-06 20:50:47 +01:00
protect-tool.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
protect.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
t-protect.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
w32main.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00