1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix a signal cleanup problem.

Fix zero length MPI reading.
This commit is contained in:
Werner Koch 2009-05-26 09:29:02 +00:00
parent e095815c4d
commit 21ad035cc9
3 changed files with 24 additions and 3 deletions

View file

@ -81,6 +81,7 @@ got_fatal_signal( int sig )
gcry_control (GCRYCTL_TERM_SECMEM );
tty_cleanup_rl_after_signal ();
tty_cleanup_after_signal ();
/* Better don't translate these messages. */
write(2, "\n", 1 );