RustFund

First Flight #36
Beginner FriendlyRust
100 EXP
View results
Submission Details
Severity: high
Invalid

Typo in Fund Struct Field

Summary

A typographical error exists in the Fund struct where dealine_set should be deadline_set.

Vulnerability Details

The field pub dealine_set: bool in the Fund struct is misspelled and doesn't match the usage deadline_set in the code (e.g., in fund_create and set_deadline). This will cause a compilation error.

Impact

The program won't compile, preventing deployment and execution until corrected.

Tools Used

Manual Code Review

Recommendations

Correct the typo in the Fund struct:

pub deadline_set: bool // Changed from dealine_set

Updates

Appeal created

bube Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

[Invalid] Wrong naming of `deadline_set`

This is strong informational finding, there is no impact for the protocol. The variable is the same on all places.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.