[mw-devel] [Git][milliways/mw][master] js-duk: Ensure js_command_name_get() has enough stack

Andrew Price welshbyte at sucs.org
Thu Mar 28 17:21:12 GMT 2019


Andrew Price pushed to branch master at milliways / mw


Commits:
fe4f0419 by Andrew Price at 2019-03-28T17:19:00Z
js-duk: Ensure js_command_name_get() has enough stack

- - - - -


1 changed file:

- src/client/js-duk.c


Changes:

=====================================
src/client/js-duk.c
=====================================
@@ -1195,6 +1195,7 @@ const char *js_command_name_get(int x)
 	char *name = NULL;
 	int i = 0;
 
+	duk_require_stack(ctx, 4);
 	if (js_push_command_object())
 		return NULL;
 



View it on GitLab: https://projects.sucs.org/milliways/mw/commit/fe4f0419b80c691e821a38623712b7f86d9bcb7c

-- 
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/fe4f0419b80c691e821a38623712b7f86d9bcb7c
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190328/d615854c/attachment.html>


More information about the mw-devel mailing list