samyeyo/LuaRT

QuickRT gives 'out of bounds index for Buffer' error when using 'crypto' module

Opened this issue · 1 comments

For example,

crypto.hash('sha1', 'foobar')

that's enough to crash the REPL with msg: out of bounds index for Buffer. A quick search under Issues didn't turn anything up. Is this a known issue? I wonder if this not just limited to crypto module but any others that might rely on buffer object. I didn't check to confirm.

It's a bug, Thank you for the report.
It concerns the printing of a Buffer object

You can reproduce it in QuickRT with sys.Buffer(5) too