1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch abd5f6752d dirmngr,gpgsm: Return NULL on fail
* dirmngr/ldapserver.c (ldapserver_parse_one): Set SERVER to NULL.
* sm/gpgsm.c (parse_keyserver_line): Ditto.
--

Reported-by: Joshua Rogers <git@internot.info>

  "If something inside the ldapserver_parse_one function failed,
   'server' would be freed, then returned, leading to a
   use-after-free.  This code is likely copied from sm/gpgsm.c, which
   was also susceptible to this bug."

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-12-22 12:39:14 +01:00
..
2011-03-03 12:40:54 +01:00
2014-11-28 09:44:19 +01:00
2014-11-28 09:44:19 +01:00
2014-09-18 15:17:44 +02:00
2014-09-18 15:17:44 +02:00
2014-12-22 12:39:14 +01:00
2014-11-28 09:44:19 +01:00
2014-06-03 21:35:59 +02:00
2014-11-11 10:13:10 +01:00
2012-11-20 19:03:49 +01:00
2012-08-24 09:44:33 +02:00
2012-08-24 09:44:33 +02:00