Skip to content

manycommander 0.6.3

Choose a tag to compare

@github-actions github-actions released this 11 Oct 11:22
· 49 commits to main since this release

Security and robustness fixes from a review of the whole program: a crafted archive, server
or file name can no longer crash manycommander, use up its memory or disguise itself, and
Ctrl+Z in a program that manycommander started no longer freezes the terminal.

Changed

  • The upload dialog says when the server has no hard links, so files are written in place
    and are visible while they are written.

Fixed

  • Quitting, and the check of an edited copy of a server file, no longer wait for a slow
    SFTP download in another view to finish.
  • A case-only rename whose second step fails puts the file back under its original name
    instead of leaving it under an intermediate name.
  • A copy or move into a destination more than 8192 directories deep is refused, instead of
    checking only part of the way up for the source.
  • A symlinked hotlist.toml or dirs.tsv, as dotfile managers make them, is saved through
    its link instead of being replaced by a plain file.
  • Editing a copy of a server file offers "Save as" also when the server file changed while
    it was downloading.
  • A filesystem that reports enormous block counts no longer makes the free-space figure wrap.
  • Esc on a server listing no longer waits behind an upload that the same connection is
    still sending.
  • A server that keeps reporting new directories, or sends enormous names, can no longer use
    up memory: scans and listings stop at their limits and say so, and a permanent delete is
    refused when a scan stopped early.
  • ~ and sftp://host/~/... in the upload dialog mean the login directory.
  • A failed connection no longer leaves an ssh process behind.
  • A tab you switch back to follows changes on disk again.
  • A change made while a slow directory refreshes is no longer missed, and a directory that is
    deleted and created again is watched again.
  • Directory sizes computed with Space and the kinds of symbolic links survive a refresh.
    Space reports directories it could not read, and Esc stops a size computation.
  • A dialog field longer than the dialog scrolls with the cursor.
  • Going back in the history keeps its place when the directory cannot be loaded yet, and a
    failed navigation no longer leaves a duplicate history entry.
  • Find treats a [ without a closing ] as a letter, as the quick filter does.
  • Backspace in quick search removes a whole character.
  • Scrolling the help and the job report stops at the end.
  • The command-line cursor sits right after a directory name with wide characters, and the
    tab bar always shows the active tab.
  • A pasted line break from a terminal that sends carriage returns becomes a space, as other
    line breaks do.
  • Ctrl+Z in a program that manycommander started, such as the pager, the editor or a
    command, no longer freezes the terminal, and an editor that suspends itself comes back.
  • Closing the terminal window during "press Enter to return" no longer leaves manycommander
    running at full CPU.
  • With no editor configured, F4 runs vi when nvim is not installed; an editor you name
    is never replaced by another.
  • A --theme-file that is a symbolic link reloads when the file it points to changes.
  • A picture in the quick view inside tmux keeps its proportions in a very wide pane, and the
    quick view's text lines up tabs after wide characters.
  • When the terminal cannot be set up, manycommander gives it back as it found it.
  • A tar hard link to a member that a later member of the same name replaced is no longer
    extracted with the later content.
  • An archive whose later members replace many entries of the shown directory no longer stalls
    its scan.
  • A file opened with Alt+O as one format still says "not a zip archive" when it is entered
    under a .zip name it does not match.
  • Sizes that an archive or a server declares no longer wrap the free-space question or the
    marked total when they are enormous.

Security

  • A crafted archive can no longer crash manycommander with a member nested hundreds of
    thousands of directories deep, or use up memory with repeated symbolic links. xz and LZMA
    members of a zip decode within the same memory limit as a compressed tar.
  • Names of files, archive members and server entries, and Markdown in the quick view, show
    bidirectional controls and line separators escaped (\u{202e}), so a name cannot disguise
    its extension or break its row.
  • state.toml, which holds the command history, is written readable by you only.
  • Control characters in what ssh prints during a connect show as ? instead of reaching
    the terminal.