[Pkg-gnupg-commit] [gnupg2] 81/102: gpg: Avoid endless loop in a tofu error case.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jun 17 00:14:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit f980cd2e0e4694a38038f518f290017087d4ce33
Author: Werner Koch <wk at gnupg.org>
Date: Tue Jun 14 12:04:01 2016 +0200
gpg: Avoid endless loop in a tofu error case.
* g10/tofu.c (get_trust): Do not jump to out.
--
Signed-off-by: Werner Koch <wk at gnupg.org>
---
g10/tofu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/g10/tofu.c b/g10/tofu.c
index 4b752f7..471aec6 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -2258,7 +2258,7 @@ get_trust (tofu_dbs_t dbs, PKT_public_key *pk,
{
log_error (_("error changing TOFU policy: %s\n"), sqerr);
sqlite3_free (sqerr);
- goto out; /* FIXME */
+ sqerr = NULL;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list