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

Remove PacketDeserializer's extra overflow guard#29715

Merged
ryoqun merged 1 commit into
solana-labs:masterfrom
ryoqun:packet-deserializer-overflow-removal
Jan 17, 2023
Merged

Remove PacketDeserializer's extra overflow guard#29715
ryoqun merged 1 commit into
solana-labs:masterfrom
ryoqun:packet-deserializer-overflow-removal

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Jan 15, 2023

(no rush; no need to work on weekend)

Problem

as discussed here (https://github.com/solana-labs/solana/pull/25172/files#r1044407292), overflow check isn't needed and is inconsistent even with nearby code.

Summary of Changes

just remove it along side with some cleanings

as pointed here (#29196 (comment)), this change must preceed prior to my banking tracer pr: #29196

cc: @apfitzge, @ryleung-solana

Fixes #

Copy link
Copy Markdown
Contributor

@pgarg66 pgarg66 left a comment

Choose a reason for hiding this comment

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

Looks good!

@ryoqun ryoqun merged commit 156454c into solana-labs:master Jan 17, 2023
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.

2 participants