node-bignum icon indicating copy to clipboard operation
node-bignum copied to clipboard

gcd and jacobi instance methods cause a crash if called with a number

Open PatSmuk opened this issue 10 years ago • 0 comments

bignum_crash

gcd and jacobi work with other BigNums, but if you try to use a JS number they crash, because they aren't wrapped in index.js and try to convert the number directly to a BigNum in the C++ code.

PatSmuk avatar Nov 10 '15 23:11 PatSmuk