svn commit: samba r6082 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Sun Mar 27 20:44:06 GMT 2005


Author: jra
Date: 2005-03-27 20:44:06 +0000 (Sun, 27 Mar 2005)
New Revision: 6082

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6082

Log:
Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk at kukkukk.com>
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c	2005-03-27 16:37:08 UTC (rev 6081)
+++ branches/SAMBA_3_0/source/smbd/trans2.c	2005-03-27 20:44:06 UTC (rev 6082)
@@ -2872,6 +2872,7 @@
 			if (!ea_list || (total_ea_len > data_size)) {
 				talloc_destroy(ea_ctx);
 				data_size = 4;
+				SIVAL(pdata,0,4);   /* EA List Length must be set to 4 if no EA's. */
 				break;
 			}
 
@@ -2896,6 +2897,7 @@
 			if (!ea_list || (total_ea_len > data_size)) {
 				talloc_destroy(ea_ctx);
 				data_size = 4;
+				SIVAL(pdata,0,4);   /* EA List Length must be set to 4 if no EA's. */
 				break;
 			}
 



More information about the samba-cvs mailing list