Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

token: Zeroize data on account close #2763

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

joncinque
Copy link
Contributor

@joncinque joncinque commented Jan 20, 2022

Problem

Closing accounts still leaves some readable / usable data that can be reused in the same transaction.

Solution

Explicitly zeroize all of the data in the account when closing accounts.

Note: this is exactly what was previously reviewed.

@joncinque joncinque merged commit 3eccf25 into solana-labs:master Jan 21, 2022
@joncinque joncinque deleted the tk-zeroize branch January 21, 2022 00:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant