Bug 474413

Summary: lftp segfaults when trying to "mput -d Something/*"
Product: [Fedora] Fedora Reporter: Peter Lemenkov <lemenkov>
Component: lftpAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: aglotov, jskala, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard:
Fixed In Version: 3.7.14-1.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-11 16:58:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Lemenkov 2008-12-03 18:37:01 UTC
I unable to upload whole directory with current lftp. Every attemt to use -d key ends with segfault. I have to create directory before, then cd into it and only after that I can upload files.

Here is an example of session with attempt to upload files with "-d" key (w/o explicitly creating target directory):

[petro@Sulaco Desktop]$ myftp
lftp root.1.2:~> cd -       
cd ok, cwd=/mnt/video4                  
lftp root.1.2:/mnt/video4> mput -d 
House MD/  Ravenous/  South Park: Bigger Longer & Uncut/  The Dark Side of the Sun/  Tmavomodrý svet/
lftp root.1.2:/mnt/video4> mput -d Ravenous/*
Segmentation fault
[petro@Sulaco Desktop]$

And here is another example, where I was forced to create necessary directory before actual upload:

[petro@Sulaco Desktop]$ myftp
lftp root.1.2:~> cd -
cd ok, cwd=/mnt/video4                  
lftp root.1.2:/mnt/video4> mkdir Ravenous
mkdir ok, `Ravenous' created
lftp root.1.2:/mnt/video4> cd Ravenous/
lftp root.1.2:/mnt/video4/Ravenous> mput 
House MD/  Ravenous/  South Park: Bigger Longer & Uncut/  The Dark Side of the Sun/  Tmavomodrý svet/
lftp root.1.2:/mnt/video4/Ravenous> mput Ravenous/*
4582770688 bytes transferred in 392 seconds (11.16M/s)                                           
Total 7 files transferred
lftp root.1.2:/mnt/video4/Ravenous>

There is no difference between ASCII and non-ASCII directories. No need to say, that everything was OK in Fedora 9 :).

Comment 1 Fedora Update System 2009-05-22 12:37:23 UTC
lftp-3.7.14-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/lftp-3.7.14-1.fc11

Comment 2 Fedora Update System 2009-05-22 12:37:28 UTC
lftp-3.7.14-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/lftp-3.7.14-1.fc10

Comment 3 Fedora Update System 2009-05-25 21:09:10 UTC
lftp-3.7.14-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lftp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5331

Comment 4 Fedora Update System 2009-05-25 21:11:25 UTC
lftp-3.7.14-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lftp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5457

Comment 5 Peter Lemenkov 2009-05-28 08:14:55 UTC
Fixed now. Thanks.

Comment 6 Fedora Update System 2009-07-11 16:58:30 UTC
lftp-3.7.14-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-07-11 17:34:58 UTC
lftp-3.7.14-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.