Home GnuPG
Diffusion GnuPG 04667cabef2d

g10: fix cmp_public_key and cmp_secret_keys.
04667cabef2dUnpublished

Unpublished Commit · Learn More

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

Description

g10: fix cmp_public_key and cmp_secret_keys.

* g10/free-packet.c (cmp_public_keys, cmp_secret_keys): Compare opaque
data at the first entry of the array when it's unknown algo.
* mpi/mpi-cmp.c (mpi_cmp): Backport libgcrypt 1.5.0's semantics.

(backported from 2.0 commit 43429c7869152f301157e4b24790b3801dce0f0a)

Details

Provenance
gniibeAuthored on Apr 30 2015, 10:20 AM
Parents
rG506eb6fec67f: gpg: Fix DoS while parsing mangled secret key packets.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG04667cabef2d: g10: fix cmp_public_key and cmp_secret_keys. (authored by NIIBE Yutaka <gniibe@fsij.org>).Apr 30 2015, 10:20 AM