Package: mc
Version: 3:4.8.26-1.1
Severity: normal

Dear Maintainer,

Trying to specify FTP URL with username crashes mc if invoked from command line.
For example:

  mc /tmp ftp://someuser@192.168.43.1:2121/

mc would start to show the dialog to ask password, and then crash:
┌─────────────────────────── FTP: Password required for someuser 
───────────────────────────┐
│ Password:                                                                     
            │
│ zsh: segmentation fault  mc /tmp ftp://someuser@192.168.43.1:2121/            
            │


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

- When invoked via menus (eg. F9 / Right / FTP link / 
ftp://mnalis@192.168.43.1:2121/) it asks for password normally and connects.
- if anonymous FTP is attempted (which does not require inputting password) it 
works.
- if correct password is also specified on command line, it also works
- if incorrect password is specified on command line, it fails as it tries to 
re-ask the password
- Also, it worked in Buster version of mc just fine. After upgrade to Bullseye 
it crashes.

In short, it seems to crash only if URL which was specified IN COMMAND LINE 
requires some user input.

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mc depends on:
ii  libc6         2.31-13
ii  libext2fs2    1.46.2-2
ii  libglib2.0-0  2.66.8-1
ii  libgpm2       1.20.7-8
ii  libslang2     2.3.2-5
ii  libssh2-1     1.9.0-2
ii  mc-data       3:4.8.26-1.1

Versions of packages mc recommends:
ii  mime-support    3.66
ii  perl            5.32.1-4+deb11u1
ii  sensible-utils  0.0.14
ii  unzip           6.0-26

Versions of packages mc suggests:
pn  arj                              <none>
ii  bzip2                            1.0.8-4
pn  catdvi | texlive-binaries        <none>
ii  dbview                           1.0.4-4
pn  djvulibre-bin                    <none>
ii  epub-utils                       0.2.2-4+b4
ii  evince [pdf-viewer]              3.38.2-1
ii  file                             1:5.39-3
ii  genisoimage                      9:1.1.11-3.2
pn  gv                               <none>
ii  imagemagick                      8:6.9.11.60+dfsg-1.3
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1.3
pn  libaspell-dev                    <none>
ii  lynx                             2.9.0dev.6-3~deb11u1
pn  odt2txt                          <none>
ii  poppler-utils                    20.09.0-3.1
pn  python                           <none>
pn  python-boto                      <none>
pn  python-tz                        <none>
pn  unar                             <none>
ii  w3m                              0.5.3+git20210102-6
pn  wimtools                         <none>
ii  zip                              3.0-12

-- no debconf information

Reply via email to