Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_hex function throws "Maximum call stack size exceeded" #3

Open
OwenDelahoy opened this issue Mar 27, 2019 · 0 comments
Open

is_hex function throws "Maximum call stack size exceeded" #3

OwenDelahoy opened this issue Mar 27, 2019 · 0 comments

Comments

@OwenDelahoy
Copy link

Occasionally the is_hex function throws an error
image

cordova.js:312 Uncaught RangeError: Maximum call stack size exceeded
    at RegExp.exec (<anonymous>)
    at RegExp.test (<anonymous>)
    at is_hex (MiniSodium.js:499)
    at MiniSodium.js:30
    at Object.callbackFromNative (cordova.js:291)
    at <anonymous>:1:9

This seems to be related to the regex expression /^([a-f]|[0-9])+$/ig

OwenDelahoy added a commit to OwenDelahoy/cordova-plugin-minisodium that referenced this issue Mar 27, 2019
blavenie added a commit to duniter-cesium/cordova-plugin-minisodium that referenced this issue Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant