Skip to content

Update baseEnv (and associated Builder) allocation to allow for 140 Value's since we have 129 Value's in our baseEnv by default now#28

Merged
lilyinstarlight merged 1 commit intotecnix-gcsfrom
fix-baseenv-allocation-overflow
Apr 29, 2026
Merged

Update baseEnv (and associated Builder) allocation to allow for 140 Value's since we have 129 Value's in our baseEnv by default now#28
lilyinstarlight merged 1 commit intotecnix-gcsfrom
fix-baseenv-allocation-overflow

Conversation

@lilyinstarlight
Copy link
Copy Markdown

@lilyinstarlight lilyinstarlight commented Apr 28, 2026

Otherwise we have a heap buffer overflow of (at least, depending on config) 1 Value during every evaluator's primop registration due to our builtins

Caught by ASAN test when enabling CI checks in #27 (https://github.com/Shopify/tecnix/actions/runs/25073864562/job/73461429839?pr=27)

…alue's since we have 129 Value's in our baseEnv by default now
Copy link
Copy Markdown

@joshheinrichs-shopify joshheinrichs-shopify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

140 builtins ought to be enough for anybody

@lilyinstarlight lilyinstarlight merged commit ec44645 into tecnix-gcs Apr 29, 2026
10 of 13 checks passed
@lilyinstarlight lilyinstarlight deleted the fix-baseenv-allocation-overflow branch April 29, 2026 13:07
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