diff options
author | Jonas Falkevik <[email protected]> | 2014-04-04 22:17:34 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-04-22 12:24:49 +0200 |
commit | fc130e699774228f396dc6f4fef4b654edc00451 (patch) | |
tree | 1bcf05705259af6b06a44c4c5fd41f2ef1a5847a /bootstrap/bin/start.boot | |
parent | 67acde7a3522c651982a6789c749aaf73313e913 (diff) | |
download | otp-fc130e699774228f396dc6f4fef4b654edc00451.tar.gz otp-fc130e699774228f396dc6f4fef4b654edc00451.tar.bz2 otp-fc130e699774228f396dc6f4fef4b654edc00451.zip |
Fix shell crash when in switch command mode
The user_drv process can crash if ctrl-y is pressed when in switch command mode (ctrl-g).
This is due to switch mode using edlin to parse the input.
And edlin uses the process dictionary to store the kill_buffer.
However the kill_buffer is undefined if not initialized by edlin:init/0
which makes the user_drv process crash since edlin is calling list:reverse/2 with undefined.
Fix calles edlin:init/0 once before server_loop is entered.
Diffstat (limited to 'bootstrap/bin/start.boot')
0 files changed, 0 insertions, 0 deletions