Skip to content

Fix shared Safe subs, strict module loading, and tainted eval - #2044

Merged
fglock merged 2 commits into
masterfrom
feature/parser-eval-issues-2033-2011-1981-1990
Nov 12, 2026
Merged

fglock merged 2 commits into
masterfrom
feature/parser-eval-issues-2033-2011-1981-1990

Conversation

@fglock

@fglock fglock commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #2033
Closes #2011
Closes #1981

Data::Alias is deferred because its alias behavior depends on object lifetime and scope cleanup tracked by #2043. The active #2043 implementation checkpoint is on PR #1938. The deferral and cross-reference are documented on the Data::Alias issue.

Validation

  • prove on system Perl for the three new tests.
  • nice -n 19 make.
  • JVM and interpreter runs of all three new tests.
  • make check-links.

Fix JVM propagation of tainted eval failures, prevent required modules from
leaking strict/features/warnings into their caller, and make Safe shared subs
visible to compartment eval under strict subs. Add focused regression tests.

Refs: #1981, #2011, #2033

Generated with OpenAI Codex (https://openai.com/codex)

Co-Authored-By: OpenAI Codex <158243242+openai-codex[bot]@users.noreply.github.com>
Install explicitly shared code symbols into the Safe compartment namespace
before eval, keeping unrelated caller subs unavailable. Add regression coverage
for both shared and unshared subroutines.

Refs: #2033

Generated with OpenAI Codex (https://openai.com/codex)

Co-Authored-By: OpenAI Codex <158243242+openai-codex[bot]@users.noreply.github.com>
@fglock
fglock merged commit 6a3b117 into master Nov 12, 2026
9 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

1 participant