Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#1828 assigned defect

Parameter 'forever' is ignored with login function

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

Description

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 04/11/14 at 19:02:09.
patch fix?

Download all attachments as: .zip

Change History (5)

comment:1 Changed on 04/12/14 at 09:22:23 by Andrey Mozzhuhin

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 12/19/14 at 04:38:14 by Gedare Bloom

Milestone: 4.114.11.1

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

comment:3 Changed on 01/26/17 at 07:16:00 by Sebastian Huber

Milestone: 4.11.14.11.2

comment:4 Changed on 02/15/17 at 13:37:51 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.