summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-13 11:31:04 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-14 11:24:55 +0100
commita87c159f19e998bba660ceba9d01c5fc58bfa60b (patch)
tree6607db441a6a50a1b9f5d158d8f15e8555a3bae8 /crypto/init.c
parent9f519addc09b2005fa8c6cde36e3267de02577bb (diff)
Fix freeze in config's interrupt trap with some shells
With bash and zsh, the trap on the 5 second read does respond, but doesn't break out of the read. What's worse is that it takes away the 5 second timer, and therefore has the read hang indefinitely and (almost) unbreakable. Having the trap do 'exit 0' after reseting the tty params has it break out of read and continue with the configuration. Other shells do not appear to have the issue described here, but neither does the extra 'exit 0' appear to harm them. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/init.c')
0 files changed, 0 insertions, 0 deletions