Home GnuPG
Diffusion GnuPG 5f6f3f5cae8a

gpg: Fix possible segv when attribute packets are filtered.
5f6f3f5cae8aUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Fix possible segv when attribute packets are filtered.

* g10/import.c (impex_filter_getval): Handle PKT_ATTRIBUTE the same as
PKT_USER_ID
(apply_drop_sig_filter): Ditto.

The old code was plainly wrong in that it considered PKT_ATTRIBUTE to
use a PKT_signature object.

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

Details

Provenance
wernerAuthored on Mar 3 2017, 9:50 AM
Parents
rG1813f3be23bd: gpg: Add new variables to the import and export filters.
Branches
Unknown
Tags
Unknown

Event Timeline