gpg: Fix a NULL-deref for invalid input data.
authorWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 18:32:47 +0000 (19:32 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 18:32:47 +0000 (19:32 +0100)
commit69767ccf4218d0dc5ef2d7e141be0f14c88fea59
tree5fce50ac48ad4ffd7e0d09a8c4d9342a4af3d6f6
parentfbb50867f81d790c4bf819dcadcd14be6c3f957b
gpg: Fix a NULL-deref for invalid input data.

* g10/mainproc.c (proc_encrypted): Take care of canceled passpharse
entry.
--

GnuPG-bug-id: 1761
Signed-off-by: Werner Koch <wk@gnupg.org>
(backported from commit 32e85668b82f6fbcb824eea9548970804fb41d9e)
g10/mainproc.c