svn commit: samba r8802 - in trunk/source/lib: .

jerry at samba.org jerry at samba.org
Wed Jul 27 19:22:19 GMT 2005


Author: jerry
Date: 2005-07-27 19:22:18 +0000 (Wed, 27 Jul 2005)
New Revision: 8802

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

Log:
merge inifnite loop fix from the 3_0 tree
Modified:
   trunk/source/lib/util_unistr.c


Changeset:
Modified: trunk/source/lib/util_unistr.c
===================================================================
--- trunk/source/lib/util_unistr.c	2005-07-27 18:53:07 UTC (rev 8801)
+++ trunk/source/lib/util_unistr.c	2005-07-27 19:22:18 UTC (rev 8802)
@@ -697,7 +697,7 @@
 		cp = *COPY_UCS2_CHAR(dest+len,src+len);
 	}
 	cp = 0;
-	while (len < max) {
+	for ( /*nothing*/ ; len < max; len++ ) {
 		cp = *COPY_UCS2_CHAR(dest+len,&cp);
 	}
 	



More information about the samba-cvs mailing list