Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832024

<#secure method=pgpmime mode=sign>
 ❦ 21 juillet 2016 15:43 CEST, Lu Wang <wanglus...@hotmail.com> :

> I use lftp with FISH protocol. I try to complete the file name by TAB.
> The program lftp crashes directly and a string 'Segmentation fault'
> shown on
> the prompt.
> If the completion cannot be used, it is too inconvenient.
>
> If I run lftp with normal FTP protocol, the program will not crash
> when I press
> TAB button.

I get the same problem:

#0  __strcpy_sse2_unaligned () at 
../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S:296
#1  0x0000555555648f66 in strcpy (__src=<optimized out>, __dest=0x7fffffffdee0 
"\f") at /usr/include/x86_64-linux-gnu/bits/string3.h:110
#2  Fish::SendMethod (this=this@entry=0x5555558ec260) at Fish.cc:397
#3  0x000055555564a870 in Fish::Do (this=0x5555558ec260) at Fish.cc:237
#4  0x00005555555f1478 in SMTask::Roll (task=0x5555558ec260) at SMTask.cc:171
#5  0x000055555565575e in SMTask::Roll (this=<optimized out>) at SMTask.h:123
#6  GenericParseListInfo::Do (this=0x5555559121a0) at NetAccess.cc:591
#7  0x00005555555f15a5 in SMTask::ScheduleThis (this=0x5555559121a0) at 
SMTask.cc:209
#8  0x00005555555f17b1 in SMTask::Schedule () at SMTask.cc:248
#9  0x00005555555ac22a in lftp_completion (text=<optimized out>, start=3, 
end=<optimized out>) at complete.cc:779
#10 0x00007ffff7632107 in gen_completion_matches (text=0x5555558f3680 "/sr", 
start=<optimized out>, end=<optimized out>, our_func=0x7ffff7630500 
<rl_filename_completion_function>, found_quote=<optimized out>, 
quote_char=<optimized out>) at ./complete.c:1162
#11 0x00007ffff76322e0 in rl_complete_internal (what_to_do=9) at 
./complete.c:1955
#12 0x00007ffff7629597 in _rl_dispatch_subseq (key=9, map=<optimized out>, 
got_subseq=0) at ./readline.c:832
#13 0x00007ffff7629981 in _rl_dispatch (key=<optimized out>, map=<optimized 
out>) at ./readline.c:775
#14 0x00007ffff7629a22 in readline_internal_char () at ./readline.c:602
#15 0x00007ffff762a145 in readline_internal_charloop () at ./readline.c:629
#16 readline_internal () at ./readline.c:643
#17 readline (prompt=<optimized out>) at ./readline.c:369
#18 0x00005555555ad286 in lftp_readline (prompt=<optimized out>) at lftp_rl.c:48
#19 0x00005555555a9514 in ReadlineFeeder::NextCmd (this=0x5555558ea330, 
exec=0x5555558de8c0, prompt=0x5555558ec9a0 "lftp eizo.luffy.cx:~> ") at 
lftp.cc:157
#20 0x00005555555b268f in CmdExec::Do (this=0x5555558de8c0) at CmdExec.cc:625
#21 0x00005555555f15a5 in SMTask::ScheduleThis (this=0x5555558de8c0) at 
SMTask.cc:209
#22 0x00005555555f17b1 in SMTask::Schedule () at SMTask.cc:248
#23 0x00005555555af86d in Job::WaitDone (this=0x5555558de8c0) at Job.cc:549
#24 0x00005555555a69cb in main (argc=<optimized out>, argv=0x7fffffffe648) at 
lftp.cc:589

In Fish::SendMethod, file is NULL. This has been fixed upstream:
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832024
-- 
Test input for validity and plausibility.
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to