Commit fe4f0419 authored by Andrew Price's avatar Andrew Price

js-duk: Ensure js_command_name_get() has enough stack

parent 30bbacf8
Pipeline #545 passed with stage
in 8 minutes and 20 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment