Skip to content
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

Audit-202409 #24

Merged
merged 16 commits into from
Nov 28, 2024
Merged

Audit-202409 #24

merged 16 commits into from
Nov 28, 2024

Conversation

bluele
Copy link
Member

@bluele bluele commented Nov 18, 2024

No description provided.

LCP-4: Fix out-of-boundary access in `LCPUtils::readBytesUntil()`

Signed-off-by: Jun Kimura <[email protected]>
@bluele bluele added the audit label Nov 18, 2024
// repeat updateClient to check the state is not changed
message = createUpdateClientMessage(dataList[i].path);
// staticcall is expected to succeed because updateClient does not update the state if the message is already processed
(bool success, bytes memory ret) = address(lc).staticcall(
Copy link
Member Author

Choose a reason for hiding this comment

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

should check if success is true here.
Fixed at 86e5a24

S8: fix to remove unused code

Signed-off-by: Jun Kimura <[email protected]>
…d `clientState.allowed_advisory_ids`

Signed-off-by: Jun Kimura <[email protected]>
@bluele bluele marked this pull request as ready for review November 27, 2024 03:38
S2-3: improve validations for `clientState.allowed_quote_statuses` and `clientState.allowed_advisory_ids`

Signed-off-by: Jun Kimura <[email protected]>
@bluele bluele merged commit 0eef8cd into main Nov 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant