Home GnuPG
Diffusion GnuPG 8a56a38387c1

gpg: Avoid warnings about possible NULL deref.
8a56a38387c1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Avoid warnings about possible NULL deref.

* g10/getkey.c (cache_public_key): Protect deref of CE which actually
can't happen.
* g10/keygen.c (quickgen_set_para): s/sprintf/snprintf/.
* g10/tofu.c (end_transaction, rollback_transaction): Allow NULL for
DB.
* g10/trustdb.c (update_min_ownertrust): Remove useless clearling of
ERR.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 7 2016, 7:05 PM
Parents
rG008aa6e6d4b2: gpg: Fix warnings about useless assignments.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8a56a38387c1: gpg: Avoid warnings about possible NULL deref. (authored by Werner Koch <wk@gnupg.org>).Jan 7 2016, 7:09 PM