aboutsummaryrefslogtreecommitdiff
path: root/lang/spidermonkey17/files/patch-jsstr.c
blob: 3929427bc48c64b90c50d522c3e7660b0054b839 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- jsstr.c	2006-11-22 09:28:44.000000000 +0100
+++ jsstr.c	2008-06-19 16:14:49.000000000 +0200
@@ -1815,6 +1815,8 @@
     jsint i, j;
     uint32 len, limit;
 
+    bzero(&tmp,sizeof(tmp));
+
     str = js_ValueToString(cx, OBJECT_TO_JSVAL(obj));
     if (!str)
         return JS_FALSE;