Comment 10 for bug 264943

Revision history for this message
Marcus Schmitz (schmidtbaer) wrote :

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