[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

Marcus Schmitz schmidtbaer at hotmail.com
Thu Dec 4 21:28:31 GMT 2008


I tracked down the problem to the following lines in "clilist.c" function "interpret_long_filename". 
Here the following lines causes  that "finfo->name" contains a null-pointer (as the function returns before setting finfo->name):

approx. line 90 of clilist.c (samba-3.2.5)

---

if (p + len + 1 > pdata_end) {
				return pdata_end - base;
			}

---

As this was added as some special requirement for OS/2 (which is not
running on my NAS) and it was also not present in previous versions of
"clilist.c" I commented out those line, after which smbclient worked
just fine again ;)

Have fun
Marcus

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list