Here's the quick workaround. I'm neither samba nor Ubuntu developer -
it's just a fix for this particular crash. I haven't go faintest idea
about the actual source of the problem.
$ diff -u samba-3.2.3/source/libsmb/clilist.c
samba-3.2.3/source/libsmb/clilist.c.orig
--- samba-3.2.3/source/libsmb/clilist.c 2008-11-16 18:22:03.399036086 +0000
+++ samba-3.2.3/source/libsmb/clilist.c.orig 2008-08-27 12:23:20.000000000
+0100
@@ -417,7 +417,7 @@
}
SAFE_FREE(mask);
- if (ff_searchcount > 0 && finfo.name) {
+ if (ff_searchcount > 0) {
mask = SMB_STRDUP(finfo.name);
} else {
mask = SMB_STRDUP("");
I was using https://wiki.ubuntu.com/PbuilderHowto to build the binary.
The deb file generated by me (one of 15 deb files pbuild has creaded) is
attached. it. It works for me.
** Attachment added: "deb file containing patched version of clilist.c"
http://launchpadlibrarian.net/19699969/libsmbclient_3.2.3-1ubuntu3_i386.deb
--
smbclient crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/284572
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs