Skip to content

Long ty names written to disk can leak username info in paths #129296

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

Open
Tracked by #128914
jieyouxu opened this issue Aug 20, 2024 · 0 comments
Open
Tracked by #128914

Long ty names written to disk can leak username info in paths #129296

jieyouxu opened this issue Aug 20, 2024 · 0 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-metrics Area: Metrics C-enhancement Category: An issue proposing an enhancement or a PR with one. D-diagnostic-infra Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jieyouxu
Copy link
Member

jieyouxu commented Aug 20, 2024

Long ty names written to disk also has this issue

Originally posted by @jieyouxu in #128594 (comment)


When a type error contains a long type name, it can be written to disk. However, sometimes these long type names can contain username info or absolute paths.

cc #128914 as this may be of concern.

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 20, 2024
@jieyouxu jieyouxu added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. D-diagnostic-infra Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself. C-enhancement Category: An issue proposing an enhancement or a PR with one. A-metrics Area: Metrics A-diagnostics Area: Messages for errors, warnings, and lints and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-metrics Area: Metrics C-enhancement Category: An issue proposing an enhancement or a PR with one. D-diagnostic-infra Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants