Skip to content
Commit 898de7d0 authored by David Howells's avatar David Howells
Browse files

KEYS: user_update should use copy of payload made during preparsing



The payload preparsing routine for user keys makes a copy of the payload
provided by the caller and stashes it in the key_preparsed_payload struct for
->instantiate() or ->update() to use.  However, ->update() takes another copy
of this to attach to the keyring.  ->update() should be using this directly
and clearing the pointer in the preparse data.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 93da17b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment