mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-17 14:07:03 +01:00
agent: Fix segv in GET_PASSPHRASE (regression)
* agent/command.c (cmd_get_passphrase): Do not deref PI. PI is always NULL. -- Fixes-commit: db5dc7a91af3774cfbce0bc533e0f0b5498402fe GnuPG-bug-id: 5577
This commit is contained in:
parent
1f726b4123
commit
4b2cfec2dc
@ -1689,7 +1689,7 @@ cmd_get_passphrase (assuan_context_t ctx, char *line)
|
||||
opt_qualbar, cacheid, CACHE_MODE_USER, NULL);
|
||||
xfree (entry_errtext);
|
||||
entry_errtext = NULL;
|
||||
is_generated = !!(pi->status & PINENTRY_STATUS_PASSWORD_GENERATED);
|
||||
is_generated = 0;
|
||||
|
||||
if (!rc)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user