Ticket #3486 (closed defect: invalid)

Opened 9 years ago

Last modified 4 years ago

Subshell is not cleared when it already contains a command and active panel is changed

Reported by: Klimontov Owned by:
Priority: major Milestone:
Component: mc-core Version: master
Keywords: Cc: iav@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Originally from https://github.com/MidnightCommander/mc/issues/29 ; reproducer and patch in https://www.midnight-commander.org/ticket/3063#comment:4 :

  • Start mc
  • Select different directories in adjacent panels
  • Turn off the panels (CTRL+O)
  • Type a command
  • Turn on the panels (CTRL+O)
  • Change active panel (Tab)

As a result, directory change command is appended to the test in subshell and it is executed, resulting in garbage being run. Reporter suggests clearing subshell, see patch in the linked comment.

Change History

comment:1 Changed 9 years ago by iav

  • Cc iav@… added

comment:2 Changed 4 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted

Fixed in #4114.

Note: See TracTickets for help on using tickets.