kissfft-js icon indicating copy to clipboard operation
kissfft-js copied to clipboard

runtime error could be a security risk

Open bhoppeadoy opened this issue 6 years ago • 1 comments
trafficstars

Hi,

When using this module we get an web inspect issue that there is a runtime error. This is the bit of code in that is causing the issue:

..16[1]=25459,115!==HEAPU8[2]||99!==HEAPU8[3])throw"Runtime error: expected the system to be little-endian!";

Would it be possible to update this so that a runtime error isn't thrown?

Thanks

bhoppeadoy avatar Oct 28 '19 18:10 bhoppeadoy

If you submit a PR I'd be happy to merge it.

j-funk avatar Oct 28 '19 18:10 j-funk