[asterisk-bugs] [JIRA] (ASTERISK-29822) cli: Typing \? freezes the CLI permanently

N A (JIRA) noreply at issues.asterisk.org
Mon Dec 27 17:00:44 CST 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

N A updated ASTERISK-29822:
---------------------------

    Description: 
Typing backslash followed by ? completely freezes the CLI. It only seems to be that particular key combination.
I realize the ? is a special key, but there seems to be some buggy behavior here. Kind of a major issue, but the likliehood of someone accidentally typing "\?" is probably small, so marking this 'minor'.

This occurs whether it is at the beginning of a command or anywhere afterwards.

CTRL+C is unsuccessful at exiting the CLI. The cli no longer responds to any keyboard input - backspace, alphanumeric keys, etc.

Only way to exit is CTRL+\ which sends a SIGQUIT to force the process to quit. The average user probably won't know to do this.

Assuming this isn't supposed to happen, looks like it's happening in the fd polling, so not sure if anything can be done about it, but here it is anyways:
https://github.com/asterisk/asterisk/blob/f38277524148e352b85810dda1c999bdde34e3cb/main/asterisk.c#L1410



  was:
Typing backslash followed by ? completely freezes the CLI. It only seems to be that particular key combination.
I realize the ? is a special key, but there seems to be some buggy behavior here. Kind of a major issue, but the likliehood of someone accidentally typing "\?" is probably small, so marking this 'minor'.

This occurs whether it is at the beginning of a command or anywhere afterwards.

CTRL+C is unsuccessful at exiting the CLI. The cli no longer responds to any keyboard input - backspace, alphanumeric keys, etc.

Only way to exit is CTRL+\ which sends a SIGQUIT to force the process to quit. The average user probably won't know to do this.




> cli: Typing \? freezes the CLI permanently
> ------------------------------------------
>
>                 Key: ASTERISK-29822
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29822
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 18.9.0
>            Reporter: N A
>
> Typing backslash followed by ? completely freezes the CLI. It only seems to be that particular key combination.
> I realize the ? is a special key, but there seems to be some buggy behavior here. Kind of a major issue, but the likliehood of someone accidentally typing "\?" is probably small, so marking this 'minor'.
> This occurs whether it is at the beginning of a command or anywhere afterwards.
> CTRL+C is unsuccessful at exiting the CLI. The cli no longer responds to any keyboard input - backspace, alphanumeric keys, etc.
> Only way to exit is CTRL+\ which sends a SIGQUIT to force the process to quit. The average user probably won't know to do this.
> Assuming this isn't supposed to happen, looks like it's happening in the fd polling, so not sure if anything can be done about it, but here it is anyways:
> https://github.com/asterisk/asterisk/blob/f38277524148e352b85810dda1c999bdde34e3cb/main/asterisk.c#L1410



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list