diff options
author | Marcus Brinkmann <[email protected]> | 2002-07-25 15:45:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-07-25 15:45:40 +0000 |
commit | b4d77023691be863c4e2d31cf9d4cc19b80672b3 (patch) | |
tree | e8e0f066ccfd67e371f0a13bf15cee1165428956 | |
parent | 2002-07-25 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-b4d77023691be863c4e2d31cf9d4cc19b80672b3.tar.gz gpgme-b4d77023691be863c4e2d31cf9d4cc19b80672b3.zip |
2002-07-25 Marcus Brinkmann <[email protected]>
* rungpg.c (_gpgme_gpg_op_keylist_ext): Skip empty string
patterns. Reported by St�phane Corth�sy.
Diffstat (limited to '')
-rw-r--r-- | gpgme/ChangeLog | 3 | ||||
-rw-r--r-- | gpgme/rungpg.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 50802c57..c0c77229 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -3,6 +3,9 @@ * wait.c (fdt_global): Make static. Reported by St�phane Corth�sy. + * rungpg.c (_gpgme_gpg_op_keylist_ext): Skip empty string + patterns. Reported by St�phane Corth�sy. + 2002-07-03 Marcus Brinkmann <[email protected]> * gpgme.c (gpgme_set_io_cbs): Deal with CTX being NULL. diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index f200d08c..15115e56 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -1635,7 +1635,7 @@ _gpgme_gpg_op_keylist_ext (GpgObject gpg, const char *pattern[], err = _gpgme_gpg_add_arg (gpg, "--"); if (!err && pattern && *pattern) { - while (*pattern) + while (*pattern && **pattern) err = _gpgme_gpg_add_arg (gpg, *(pattern++)); } |