On Fri, Sep 05, 2003 at 08:14:26PM +0800, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I've found a problem with samba when printing from a client running win95 
> + DFS. The print fails with a segmentation fault. The problem is that 
> Win95 does not return the proper file_fsp( smb_vwv0) when doing an IOCTL 
> request.This causes the file_fsp call in reply_ioctl (smbd/reply.c)  to 
> fail cause a segmentation fault.
> 
> I do not understand how samba work, but here is my working patch for this. I 
> just copied the fid from the last open_And_X call and write it into inbuf 
> if the file_fsp is different.

Thanks a lot for this. I've committed a patch that rejects the call
rather than core dumping. I'm considering your patch to save the old
fnum and re-use it - I'm not sure that's correct in this case.

Thanks for the fix though !

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to