CVS update: samba/source/libsmb

crh at samba.org crh at samba.org
Mon Apr 22 13:11:01 EST 2002


Date:	Sun Apr 21 20:11:01 2002
Author:	crh

Update of /data/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv21368

Modified Files:
      Tag: SAMBA_2_2
	nmblib.c 
Log Message:
Yes, I think this should be fixed in 2.2.4 as well.  Minor bug, minor fix.

Small change to correct the value we place in the DGM_LENGTH field of 
NBT Datagram messages.  We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name, 
destination name, and payload.  We've been overcharging by 14 bytes
(the size of the NBT DGM header).

This fix brings us in line with what Windows does, and what the RFCs 
say should be done.  I'm a little surprised that this didn't cause any
bugs or error messages.  I guess no one actually checks this field.


Revisions:
nmblib.c		1.56.4.8 => 1.56.4.9
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/nmblib.c?r1=1.56.4.8&r2=1.56.4.9




More information about the samba-cvs mailing list