2010-10-28 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
* opassuan.c (gpgme_op_assuan_transact_ext): Fix uninitialized value use. Reported by Marc Mutz.
This commit is contained in:
parent
de9f0b932e
commit
b65638692e
@ -1,3 +1,8 @@
|
||||
2010-10-28 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
|
||||
|
||||
* opassuan.c (gpgme_op_assuan_transact_ext): Fix uninitialized
|
||||
value use. Reported by Marc Mutz.
|
||||
|
||||
2010-10-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgme-tool.c (ARGP_ERR_UNKNOWN): Use EDEADLK if available.
|
||||
|
@ -126,9 +126,10 @@ gpgme_op_assuan_transact_ext (gpgme_ctx_t ctx,
|
||||
data_cb, data_cb_value,
|
||||
inq_cb, inq_cb_value,
|
||||
status_cb, status_cb_value);
|
||||
if (!err)
|
||||
err = _gpgme_wait_one_ext (ctx, &op_err);
|
||||
if (err)
|
||||
goto out;
|
||||
|
||||
err = _gpgme_wait_one_ext (ctx, &op_err);
|
||||
if (op_err)
|
||||
{
|
||||
TRACE_LOG2 ("op_err = %s <%s>", gpgme_strerror (op_err),
|
||||
@ -141,6 +142,7 @@ gpgme_op_assuan_transact_ext (gpgme_ctx_t ctx,
|
||||
if (op_err_p)
|
||||
*op_err_p = op_err;
|
||||
|
||||
out:
|
||||
return TRACE_ERR (err);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user