You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dsemenovsky Thanks for reporting. The issue is that I am allocating the temporary new string on the stack, and for large strings it blows the stack. The solution is to allocate on the heap instead.
For a quick fix, replace:
char temp[length + 1];
with
char *temp = (char*) malloc(length + 1);
and then after JSStringRelease(s), put the following line:
I get this error when processing large data.
The same code works perfectly on Android.
The text was updated successfully, but these errors were encountered: