Skip to content

program: Use realloc with zero-init#479

Merged
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:realloc
Jun 3, 2025
Merged

program: Use realloc with zero-init#479
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:realloc

Conversation

@joncinque
Copy link
Copy Markdown
Contributor

Problem

The runtime will no longer allow reallocs without zero-init once anza-xyz/agave#5871 lands, but token-2022 uses it.

Summary of changes

Stop using it.

cc @Lichtso

#### Problem

The runtime will no longer allow reallocs without zero-init once
anza-xyz/agave#5871 lands, but token-2022 uses
it.

#### Summary of changes

Stop using it.
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.

3 participants