diff options
author | Werner Koch <[email protected]> | 2017-03-03 08:50:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-03-03 08:50:40 +0000 |
commit | 5f6f3f5cae8a95ed469129f9677782c17951dab3 (patch) | |
tree | 84e0a8e097016b53e76c9c30d3679dbba723947a /dirmngr/http-common.c | |
parent | gpg: Add new variables to the import and export filters. (diff) | |
download | gnupg-5f6f3f5cae8a95ed469129f9677782c17951dab3.tar.gz gnupg-5f6f3f5cae8a95ed469129f9677782c17951dab3.zip |
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 <[email protected]>
Diffstat (limited to 'dirmngr/http-common.c')
0 files changed, 0 insertions, 0 deletions