#1828 assigned defect

Parameter 'forever' is ignored with login function

Reported by: nopscmn Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: shell Version: 4.10
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:


When selected login function in the shell, after repeated incorrect passwords, shell will out, even when the 'forever' flag is set.

See cpukit/libmisc/shell/shell.c function rtems_shell_main_loop. After incorrect login, variable 'result' has false value, and while loop is exited.

Attachments (1)

0001-PR1828-Parameter-forever-is-ignored-with-login-funct.patch (1.1 KB) - added by Gedare Bloom on Apr 11, 2014 at 7:02:09 PM.
patch fix?

Download all attachments as: .zip

Change History (5)

comment:1 Changed on Apr 12, 2014 at 9:22:23 AM by nopscmn

Replying to comment:1:

Created attachment 1564 [details]
patch fix?

Hi Gedare,

I think when running shell over telnet socket error during login handling must be changed too. Can't check it now, but probably on socket error during login shell task will run forever with 100% cpu usage?

comment:2 Changed on Dec 19, 2014 at 4:38:14 AM by Gedare Bloom


Bump milestone to 4.11.1 in case no patch exists and PR seems delayable.

comment:3 Changed on Jan 26, 2017 at 7:16:00 AM by Sebastian Huber


comment:4 Changed on Feb 15, 2017 at 1:37:51 PM by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: changed from Chris Johns to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.