1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
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
..
2011-08-04 14:42:31 +02:00
2009-05-15 11:16:28 +00:00
2011-08-04 14:42:31 +02:00
2009-12-21 16:19:09 +00:00
2012-08-24 10:34:43 +02:00
2009-06-09 19:11:28 +00:00
2009-12-21 16:19:09 +00:00
2007-07-04 19:49:40 +00:00
2009-05-15 11:16:28 +00:00
2009-05-15 11:16:28 +00:00
2010-05-12 11:03:28 +00:00
2007-07-04 19:49:40 +00:00
2009-12-02 19:02:33 +00:00
2007-07-04 19:49:40 +00:00