Mailing List Archive

pinentry-curses segfaults after confirm
A Debian user reported (bug #311410) the following, which I can confirm:

On my system i can make pinentry-curses segfault by doing the following:
- start pinentry without options
- request confirmation by sending a single line "confirm\n" to it
- answer that confirmation request in any way
Re: pinentry-curses segfaults after confirm [ In reply to ]
At Wed, 15 Jun 2005 19:59:50 +0200,
Peter Eisentraut <peter_e@gmx.net> wrote:
>
> A Debian user reported (bug #311410) the following, which I can confirm:
>
> On my system i can make pinentry-curses segfault by doing the following:
> - start pinentry without options
> - request confirmation by sending a single line "confirm\n" to it
> - answer that confirmation request in any way

Thanks for the report. This is now fixed in CVS:

2005-06-16 Marcus Brinkmann <marcus@g10code.de>

* pinentry/pinentry-curses.c (dialog_run): Only convert pin if a
pin actually exists.

Marcus