[Samba] Segmentation fault in smbclient v2.2.9.
jra at samba.org
Wed Jun 23 18:02:31 GMT 2004
On Wed, Jun 23, 2004 at 01:24:07AM +0400, Igor Yu. Zhbanov wrote:
> I have found a bug in smbclient v2.2.9.
> ----- source/client/client.c -----
> static void readline_callback(void)
> fd_set fds;
> struct timeval timeout;
> static time_t last_t;
> time_t t;
> t = time(NULL);
> if (t - last_t < 5) return;
> last_t = t;
> Segmentation fault was here since cli->fs == -1
> This was happen when smbd crashes (bug in my VFS module) and return READ_EOF.
> And cli->fd became -1.
This has been fixed in Samba 3.0.x code. Thanks for the report !
More information about the samba