Home GnuPG
Diffusion GnuPG e0c13ad5f290

Protect against NULL return of mpi_get_opaque.
e0c13ad5f290Unpublished

Unpublished Commit · Learn More

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

Description

Protect against NULL return of mpi_get_opaque.

* g10/seckey-cert.c (do_check): Call BUG for NULL return of
get_opaque.

This is the suggested addition from commit 6f03218. We better run
into an fatal error than into a segv.

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

Details

Provenance
wernerAuthored on Feb 23 2015, 11:04 AM
Parents
rG6f032181ba78: gpg: Fix segv due to NULL value stored as opaque MPI
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGe0c13ad5f290: Protect against NULL return of mpi_get_opaque. (authored by Werner Koch <wk@gnupg.org>).Feb 23 2015, 11:04 AM