Repository navigation
manycommander 0.6.3
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.tomlordirs.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.
Escon 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. ~andsftp://host/~/...in the upload dialog mean the login directory.- A failed connection no longer leaves an
sshprocess 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
Spaceand the kinds of symbolic links survive a refresh.
Spacereports directories it could not read, andEscstops 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. Backspacein 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+Zin 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,
F4runsviwhennvimis not installed; an editor you name
is never replaced by another. - A
--theme-filethat 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+Oas one format still says "not a zip archive" when it is entered
under a.zipname 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
sshprints during a connect show as?instead of reaching
the terminal.