Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: Redact object data in heap snapshots, with option to opt-out #174

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

kpamnany
Copy link
Collaborator

@kpamnany kpamnany commented Aug 26, 2024

PR Description

Do not emit the contents of strings in heap snapshots.

Checklist

Requirements for merging:

…ng#55326)

The contents of strings can contain user data which may be proprietary
and emitting them in the heap snapshot makes the heap snapshot a
potential vulnerability rather than a useful debugging artifact.

There are likely other tweaks necessary to make heap snapshots "safe",
but this is one less.

---------

Co-authored-by: Nathan Daly <[email protected]>
Co-authored-by: Ian Butterworth <[email protected]>
@github-actions github-actions bot added port-to-v1.10 This change should apply to Julia v1.10 builds port-to-master This change should apply to all future Julia builds labels Aug 26, 2024
@kpamnany kpamnany removed port-to-v1.10 This change should apply to Julia v1.10 builds port-to-master This change should apply to all future Julia builds labels Aug 26, 2024
Copy link
Member

@d-netto d-netto left a comment

Choose a reason for hiding this comment

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

SGTM. Please run the JuliaLang Profile test on this branch (to check the functionality is correct) and raicode CI before merging.

@kpamnany
Copy link
Collaborator Author

Ran the Profile tests; they pass. RAICode PR passes CI.

@kpamnany kpamnany merged commit 0e5b029 into v1.10.2+RAI Aug 26, 2024
5 checks passed
@kpamnany kpamnany deleted the kp-backport-55326 branch August 26, 2024 17:19
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