Home GnuPG
Diffusion GnuPG 85cc7449fb00

gpg: Avoid using an uninitialized SALT on premature EOF.
85cc7449fb00Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Avoid using an uninitialized SALT on premature EOF.

* g10/parse-packet.c (parse_key): Check for premature end of salt.

This has no security implications because an arbitrary salt could have
also been inset by an attacker.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 6 2016, 8:48 AM
Parents
rG09accc0e3d74: gpg: Silence warnings found by static analyzer.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG85cc7449fb00: gpg: Avoid using an uninitialized SALT on premature EOF. (authored by Werner Koch <wk@gnupg.org>).Jan 6 2016, 8:48 AM