lftp produces segmentation fault with mirror --log command (Debian BTS#551062)

Noël Köthe <[email protected]> Sat, 31 Jul 2010 21:16:31 +0200
Newsgroups gmane.network.lftp.devel
Organization Debian GNU/Linux, www.debian.org
Message-ID <[email protected]>
--=-Cd6HKsFDFsecQ0VCXaz8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

sorry for bothering you with all these reports:

lftp produces segmentation fault with mirror --log <logfile> command
when logfile is under a folder which not exists.

lftp 4.0.9 and older show this.

$ LC_ALL=3DC lftp test@localhost
Password:=20
---- Resolving host address...   =20
---- 2 addresses found: ::1, 127.0.0.1
lftp test@localhost:~> ls
---- Connecting to localhost (::1) port 21
<--- 220 ProFTPD 1.3.3a Server (Debian) [::1]
...
lftp test@localhost:~> mirror --log=3Dlog/mylogfile
Segmentation fault
$ LC_ALL=3DC ls log
ls: cannot access log: No such file or directory



--=20
No=C3=ABl K=C3=B6the <noel debian.org>
Debian GNU/Linux, www.debian.org


--=-Cd6HKsFDFsecQ0VCXaz8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJMVHaLAAoJEGjAeL6I+AzaJd0P/2S354y4g3+zP8WKl9t586CS
SxqIU6rkBIIvk7c8Jv/C3VnrnlINpwcTGJFdWwVhKlVOSAIcYHUuT2px2xzn3VJ4
FwT6eJLo5NAxEQsoUJ2LEzIre0ckkFypanuM2rtFl2WSOfnN1DWtT0FY3GAFXH6n
mWJMra06RnXt08TbN4jnUkYcikvmtOhXh43z/9oaCaKz7LHxfEED5hu8quXSY8UM
Y+jkvNdO4oIpsVL9MepAINYmHHrJ8YFhNLS5fJ8UJdtRbf7VD4/NjZLhuItshC+O
SHit9nlYP9RVhirbDkCokCqUNb93BxjmaFCUp3U4jqRD7Bl35YSJOY6mpktEjk65
wY8Bh2TWeVb3dVD/4m6bePY8179Wo07l8nQU+ySwcH+tKGNRWnyRik7PQP0OB20v
POpTZCfCyJ3VF38VT5YMVqxGUfZRuZRK0rm2qiD64rwjwpTtodbsYI4tAZ+SrsPE
EbB4zyJdGtjQ8FmRR3/qf8Mae/LOpcXFHFaN7NY1mWG1qg/D8MTI34BQakf6TuAJ
473wNF4XVPCYf5pqYFSwLrf9DOPJyeEYCqCmsZU4iMd0X2ex9SUoXch6KdlarDM+
i68BUP8dkh6Yd3AkfHtsdwH7pSxA1YUaXiKDQbZglmwEBuEyrYRMuhSdhIKiuDLh
A+iLlISIncAc1iPUQ7L4
=GPEF
-----END PGP SIGNATURE-----

--=-Cd6HKsFDFsecQ0VCXaz8--