Skip to content

fix(fuzz): skip json unsupported type errors#928

Merged
antonmedv merged 2 commits intoexpr-lang:masterfrom
thevilledev:fix/oss-fuzz-482626740
Feb 14, 2026
Merged

fix(fuzz): skip json unsupported type errors#928
antonmedv merged 2 commits intoexpr-lang:masterfrom
thevilledev:fix/oss-fuzz-482626740

Conversation

@thevilledev
Copy link
Contributor

Add skip pattern for json.UnsupportedTypeError in fuzz test. The toJSON() builtin returns this error when given non-serializable types like functions (e.g. toJSON(score)).

The existing skip list only covered json: unsupported value (for NaN/Inf) but not json: unsupported type (for func, chan, complex types).

Fixes #925.

thevilledev and others added 2 commits February 13, 2026 22:13
Add skip pattern for json.UnsupportedTypeError in fuzz
test. The toJSON() builtin returns this error when given
non-serializable types like functions (e.g. toJSON(score)).

The existing skip list only covered json: unsupported value
(for NaN/Inf) but not json: unsupported type (for func,
chan, complex types).

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
@antonmedv antonmedv merged commit 75a31bc into expr-lang:master Feb 14, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSS-Fuzz issue 482626740

2 participants