Files
ports/lang/spidermonkey17/files/patch-jsstr.c
T
Tom Judge f03f2be24f Rename lang/spidermonkey to lang/spidermonkey17 in preperation for the
import of lang/spidermonkey18.

Approved by:	Dan Rench <citric@cubicone.tmetic.com> (maintainer)
Approved by:	eadler (mentor)
2012-09-02 19:59:20 +00:00

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;