Skip to content

v1.1.0

Choose a tag to compare

@williamalexakis williamalexakis released this 20 May 08:31
· 3 commits to main since this release
fa19828

Features

  • Added complexity error type.
  • Added I/O error type.

Fixes

  • Reworked file reading to a chunk-based mechanism that handles both seekable/unseekable inputs and prevents buffer overflows.
  • Implemented depth counter to reject deeply nested source files via complexity error.
  • Removed uint16_t typecasts on size_t operands which silently truncated and produced wrong bytecode, and added bounds checking against UINT16_MAX in emit_u16() and patch_jump().

Thanks to @skeeto for identifying these issues.