Home GnuPG
Diffusion GnuPG 52f7f195b119

g10: Avoid undefined behavior.
52f7f195b119Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: Avoid undefined behavior.

* g10/trust.c (clean_one_uid): Avoid a computation involving an
uninitialized value.

Found using the Clang Static Analyzer.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 19 2015, 3:48 PM
Parents
rG6a37b45a7f13: scd: Improve error handling.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG52f7f195b119: g10: Avoid undefined behavior. (authored by Justus Winter <justus@g10code.com>).Nov 19 2015, 3:48 PM