Ark icon indicating copy to clipboard operation
Ark copied to clipboard

Null characters are crashing the VM

Open SuperFola opened this issue 1 year ago • 0 comments

What happened?

When we have a null character in a source file it crashes the VM but compiles as intended.

This might be because the null character is used as an end-of-value tag in the values table. This has to be tested on v4 too as the layout of the tables changed.

This has been found thanks to https://github.com/AFLplusplus/AFLplusplus

What ArkScript version are you seeing the problem on?

dev

Relevant code & log output

(print "�")

Documentation

  • [X] I have read existing related documentation before submitting this report
  • [X] I have searched for an existing issue before posting

SuperFola avatar Nov 02 '22 19:11 SuperFola