Skip to content

Redact string panics#51248

Merged
ConradIrwin merged 1 commit intomainfrom
desensitized
Mar 11, 2026
Merged

Redact string panics#51248
ConradIrwin merged 1 commit intomainfrom
desensitized

Conversation

@ConradIrwin
Copy link
Copy Markdown
Member

String panics are a non-trivial percentage of the crashes we see at Zed, and
doubly unfortunately they may incidentally include the contents of a user's
buffer.

Although this hasn't happened yet (to my knowledge), I don't want to be
in the position of having received sensitive information this way.

See also rust-lang/rust#153677

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 11, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, bennetbo and kubkon and removed request for a team March 11, 2026 02:42
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 11, 2026
String panics are unfortunately common at Zed, and doubly unfortunately
they may incidentally include the contents of a user's buffer.

Although this hasn't happened yet (to my knowledge), I don't want to be
in the position of having received sensitive information this way.

See also rust-lang/rust#153677
@ConradIrwin ConradIrwin enabled auto-merge (squash) March 11, 2026 03:05
@ConradIrwin ConradIrwin merged commit f0e301c into main Mar 11, 2026
28 checks passed
@ConradIrwin ConradIrwin deleted the desensitized branch March 11, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants