Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
gpg2
gnupg-CVE-2018-9234.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnupg-CVE-2018-9234.patch of Package gpg2
From a17d2d1f690ebe5d005b4589a5fe378b6487c657 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Mon, 2 Apr 2018 17:41:50 +0900 Subject: [PATCH] g10: Fix filtering by PK->REQ_USAGE. * g10/getkey.c (get_pubkey_byfprint): Filter by PK->REQ_USAGE. -- GnuPG-bug-id: 3844 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> --- g10/getkey.c | 2 ++ 1 file changed, 2 insertions(+) Index: gnupg-2.0.24/g10/getkey.c =================================================================== --- gnupg-2.0.24.orig/g10/getkey.c +++ gnupg-2.0.24/g10/getkey.c @@ -1196,6 +1196,8 @@ get_pubkey_byfprint( PKT_public_key *pk, ctx.items[0].mode = fprint_len==16? KEYDB_SEARCH_MODE_FPR16 : KEYDB_SEARCH_MODE_FPR20; memcpy( ctx.items[0].u.fpr, fprint, fprint_len ); + if (pk) + ctx.req_usage = pk->req_usage; rc = lookup( &ctx, &kb, 0 ); if (!rc && pk ) pk_from_block ( &ctx, pk, kb );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor