Skip to content

ktecma262 0.1.1 (never published)

Choose a tag to compare

@mgilbir mgilbir released this 15 Aug 09:42
· 36 commits to main since this release

Caution

Deprecated — never published.

This tag exists, but nothing was ever released to Maven Central under it: the release run hung in the differential fuzz step and was cancelled. There is no 0.1.1 artifact to depend on.

Its content — the \0 character-class fix — shipped in 0.1.2 and later.

Use 0.1.4 instead.


Fixes a parser bug found by the differential fuzzer immediately after 0.1.0
was tagged.

Fixed

  • \0 inside a character class is the NUL escape in every mode. Both
    Unicode-mode class paths rejected it: the u path rejected every digit
    escape outright, where CharacterEscape :: 0 [lookahead ∉ DecimalDigit]
    keeps \0 valid, and the v class-set path had no digit branch at all.
    [\0] and [+\0d] now match NUL under u and v as they already did
    under Annex B, while [\01], [\1] and [\9] remain SyntaxErrors in
    Unicode mode.

    Found on /st[+\0d]&+/vs by the fuzzer's unstructured-pattern mode — a
    shape the grammar-driven generator cannot produce. The recorded corpus
    now covers digit escapes inside classes in all three modes.

0.1.0 is affected by this bug and should not be used.