Bug 18632 - lftp fish:// always segfaults when trying autocompletion for "cd" & "get" commands
Summary: lftp fish:// always segfaults when trying autocompletion for "cd" & "get" com...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: David Walser
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-06 10:20 CEST by Thierry Vignaud
Modified: 2016-06-22 10:56 CEST (History)
0 users

See Also:
Source RPM: lftp-4.7.2-1.mga6
CVE:
Status comment:


Attachments
GDB trace with symbols (2.40 KB, text/plain)
2016-06-06 10:21 CEST, Thierry Vignaud
Details

Description Thierry Vignaud 2016-06-06 10:20:10 CEST
lftp fish:// always segfaults when trying autocompletion
run eg: lftp -u foo fish://bar/~/

then type "cd <tab">
and it segfaults.
See attached GDB trace
Comment 1 Thierry Vignaud 2016-06-06 10:21:03 CEST
Created attachment 7926 [details]
GDB trace with symbols
Comment 2 Thierry Vignaud 2016-06-06 10:25:33 CEST
Intestingly, completion works fine for eg: "put"...
It's "cd" that is broken.

Summary: lftp fish:// always segfaults when trying autocompletion => lftp fish:// always segfaults when trying autocompletion for "cd" command

Thierry Vignaud 2016-06-06 10:28:15 CEST

Summary: lftp fish:// always segfaults when trying autocompletion for "cd" command => lftp fish:// always segfaults when trying autocompletion for "cd" & "get" commands

Comment 3 Thierry Vignaud 2016-06-21 13:52:05 CEST
I got bored by this bug and I fixed it

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Rémi Verschelde 2016-06-22 10:56:29 CEST
For the reference, in case it could be useful to other distros, here's the patch: http://svnweb.mageia.org/packages/cauldron/lftp/current/SOURCES/fix-segfault-mga18632.patch?view=markup

Note You need to log in before you can comment on or make changes to this bug.