Skip to content

fix(builtin): bounds check to get()#918

Merged
antonmedv merged 1 commit intoexpr-lang:masterfrom
thevilledev:fix/cluster-fuzz-479270603
Jan 28, 2026
Merged

fix(builtin): bounds check to get()#918
antonmedv merged 1 commit intoexpr-lang:masterfrom
thevilledev:fix/cluster-fuzz-479270603

Conversation

@thevilledev
Copy link
Contributor

Validate argument count before accessing params slice in the get() function. This prevents a runtime panic when malformed input bypasses compile-time validation, as discovered by OSS-Fuzz.

Includes regression test for the specific fuzz case.

Relates to #917.

Validate argument count before accessing params slice in the get()
function. This prevents a runtime panic when malformed input bypasses
compile-time validation, as discovered by OSS-Fuzz.

Includes regression test for the specific fuzz case.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
@antonmedv antonmedv merged commit d3805b0 into expr-lang:master Jan 28, 2026
18 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.

2 participants