2006-10-24 Marcus Brinkmann <marcus@g10code.de>
* trustlist.c (gpgme_op_trustlist_next): Return error if OPD is NULL.
This commit is contained in:
parent
ebb8edbb30
commit
f44e7a64bb
@ -1,3 +1,8 @@
|
|||||||
|
2006-10-24 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* trustlist.c (gpgme_op_trustlist_next): Return error if OPD is
|
||||||
|
NULL.
|
||||||
|
|
||||||
2006-10-23 Marcus Brinkmann <marcus@g10code.de>
|
2006-10-23 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* wait-global.c (gpgme_wait): Unlock CTX_LIST_LOCK while calling
|
* wait-global.c (gpgme_wait): Unlock CTX_LIST_LOCK while calling
|
||||||
|
@ -215,6 +215,8 @@ gpgme_op_trustlist_next (gpgme_ctx_t ctx, gpgme_trust_item_t *r_item)
|
|||||||
opd = hook;
|
opd = hook;
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
if (opd == NULL)
|
||||||
|
return gpg_error (GPG_ERR_INV_VALUE);
|
||||||
|
|
||||||
if (!opd->trust_queue)
|
if (!opd->trust_queue)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user