BUG / Possible FIX suggestion, results from investigating extra data written past expected EOF.

Jeremy Allison jeremy at valinux.com
Thu Jun 8 19:36:48 GMT 2000


"John E. Malmberg" wrote:
> 
> BUG:
> 
> When the SMBD process is told to the size of a file that is being created or
> overwritten, it uses ftruncate() or a fall back algorithm to set the file to
> that size at the beginning of the file transfer.
> 
> Then the file is transferred and closed.
> 
> This in some circumstances is resulting in extra data that is written beyond
> what was expected to be the end of file.  In most cases this data seems to
> be NULL characters.

I cannot reproduce this on WinNT SP5. Can you tell me
*exactly* what client you are seeing this with ?

Regards,

	Jeremy Allison,
	Samba Team.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list