head	1.2;
access;
symbols
	RELEASE_5_3_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.10.22.00.42.19;	author adamw;	state dead;
branches;
next	1.1;

1.1
date	2004.09.28.03.20.33;	author marcus;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 1.8a4. For now, if you're building with Xft2 support,
an explicit --disable-freetype2 is passed to the configure script.
@
text
@Index: nsVCardObj.cpp
===================================================================
RCS file: /cvsroot/mozilla/mailnews/addrbook/src/nsVCardObj.cpp,v
retrieving revision 1.2
retrieving revision 1.2.24.1
diff -u -r1.2 -r1.2.24.1
--- mailnews/addrbook/src/nsVCardObj.cpp	14 Sep 2003 21:45:58 -0000	1.2
+++ mailnews/addrbook/src/nsVCardObj.cpp	31 Aug 2004 07:44:25 -0000	1.2.24.1
@@@@ -1344,16 +1344,13 @@@@
 
 static void writeGroup(OFile *fp, VObject *o)
 {
-    char buf1[256];
-    char buf2[256];
-    PL_strcpy(buf1,NAME_OF(o));
-    while ((o=isAPropertyOf(o,VCGroupingProp)) != 0) {
-  PL_strcpy(buf2,STRINGZ_VALUE_OF(o));
-  PL_strcat(buf2,".");
-  PL_strcat(buf2,buf1);
-  PL_strcpy(buf1,buf2);
+  nsCAutoString buf(NAME_OF(o));
+
+  while ((o=isAPropertyOf(o,VCGroupingProp)) != 0) {
+    buf.Insert(NS_LITERAL_CSTRING("."), 0);
+    buf.Insert(STRINGZ_VALUE_OF(o), 0);
   }
-    appendsOFile(fp,buf1);
+  appendsOFile(fp, buf.get());
 }
 
 static int inList(const char **list, const char *s)
@


1.1
log
@Patch the various recently reported security vulnerabilities in Mozilla.

This update covers the following Mozilla bugs:

245066
226669
250862
255067
256316
257317
258005

Thanks to nectar for scraping all of these patches together.

Obtained from:	Mozilla CVS
Approved by:	portmgr (implicit)
@
text
@@

