[svn] gpgme - r1185 - trunk/gpgme
svn author marcus
cvs at cvs.gnupg.org
Tue Oct 24 11:22:34 CEST 2006
Author: marcus
Date: 2006-10-24 11:22:33 +0200 (Tue, 24 Oct 2006)
New Revision: 1185
Modified:
trunk/gpgme/ChangeLog
trunk/gpgme/trustlist.c
Log:
2006-10-24 Marcus Brinkmann <marcus at g10code.de>
* trustlist.c (gpgme_op_trustlist_next): Return error if OPD is
NULL.
Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog 2006-10-23 18:52:14 UTC (rev 1184)
+++ trunk/gpgme/ChangeLog 2006-10-24 09:22:33 UTC (rev 1185)
@@ -1,3 +1,8 @@
+2006-10-24 Marcus Brinkmann <marcus at g10code.de>
+
+ * trustlist.c (gpgme_op_trustlist_next): Return error if OPD is
+ NULL.
+
2006-10-23 Marcus Brinkmann <marcus at g10code.de>
* wait-global.c (gpgme_wait): Unlock CTX_LIST_LOCK while calling
Modified: trunk/gpgme/trustlist.c
===================================================================
--- trunk/gpgme/trustlist.c 2006-10-23 18:52:14 UTC (rev 1184)
+++ trunk/gpgme/trustlist.c 2006-10-24 09:22:33 UTC (rev 1185)
@@ -215,6 +215,8 @@
opd = hook;
if (err)
return err;
+ if (opd == NULL)
+ return gpg_error (GPG_ERR_INV_VALUE);
if (!opd->trust_queue)
{
More information about the Gnupg-commits
mailing list