gpg: Fix a NULL-deref for invalid input data.
authorWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 17:19:31 +0000 (18:19 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 18:27:20 +0000 (19:27 +0100)
commit92a7949ae6331b5e188480b76ce29a86ede6e89e
treecdcbcae731909f87d98d189509e5cd6c8983ac90
parenta1c861ed380548ccd2819d3f6506ebbad9246561
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