opnsense-ports/lang/spidermonkey17/files/patch-jsstr.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 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;