Public bug reported:
I can repeatably crash smbclient with the following input. (I'm
connecting to a Windows 2000 host on my local network.)
$ smbclient //192.168.1.101/C$ -U Administrator
Password:
Domain=[FIREFLY] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \> cd docume~1
smb: \docume~1\> put delSegmentation fault
$
The prefix matches two files in the current directory, "delicious-
cake.jpg" and "deliciouspie.gif". Stack trace follows.
#0 0xb7c805b0 in strncpy () from /lib/tls/i686/cmov/libc.so.6
#1 0x08065e25 in do_list ()
#2 0xb7efc719 in gen_completion_matches (text=0x819dcc8 "delic", start=<value
optimized out>, end=4784212,
our_func=0xb7efb7ff <rl_filename_completion_function>, found_quote=0,
quote_char=0) at /build/buildd/readline5-5.1/complete.c:963
#3 0xb7efcb49 in rl_complete_internal (what_to_do=9) at
/build/buildd/readline5-5.1/complete.c:1680
#4 0xb7efcf86 in rl_complete (ignore=135912664, invoking_key=135912664) at
/build/buildd/readline5-5.1/complete.c:355
#5 0xb7ef5813 in _rl_dispatch_subseq (key=9, map=0xb7f14e40, got_subseq=0) at
/build/buildd/readline5-5.1/readline.c:718
#6 0xb7ef5bce in _rl_dispatch (key=135912664, map=0x819dcd7) at
/build/buildd/readline5-5.1/readline.c:668
#7 0xb7ef5c80 in readline_internal_char () at
/build/buildd/readline5-5.1/readline.c:500
#8 0xb7ef5e0e in readline (prompt=0x819dcd8 "") at
/build/buildd/readline5-5.1/readline.c:526
#9 0x080d530d in smb_readline ()
#10 0x08066cc0 in main ()
reportbug information follows.
-- System Information:
Debian Release: testing/unstable
APT prefers dapper-updates
APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-28-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages smbclient depends on:
ii libc6 2.3.6-0ubuntu20.5 GNU C Library: Shared libraries an
ii libcomerr2 1.38-2ubuntu2 common error description library
ii libkrb53 1.4.3-5ubuntu0.4 MIT Kerberos runtime libraries
ii libldap2 2.1.30-12ubuntu3 OpenLDAP libraries
ii libncurses5 5.5-1ubuntu3 Shared libraries for terminal hand
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libreadline5 5.1-7build1 GNU readline and history libraries
ii samba-common 3.0.22-1ubuntu3.3 Samba common files used by both th
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
--
smbclient crashes on tab completion.
https://bugs.launchpad.net/bugs/133261
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs