f03f2be24f
import of lang/spidermonkey18. Approved by: Dan Rench <citric@cubicone.tmetic.com> (maintainer) Approved by: eadler (mentor)
12 lines
289 B
C
12 lines
289 B
C
--- 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;
|