RustFund

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

Typo in `deadline_set` Field Name (`dealine_set`) 

Summary

A simple typographical error in the field name dealine_set results in confusion and potential future misuses. While not an immediate exploit itself, it indicates poor code clarity.

Vulnerability Details

  • The field is spelled dealine_set throughout, but the intended meaning is deadline_set.

  • Maintainers or new developers may misunderstand or incorrectly reference that field.

Impact

  1. Higher Likelihood of Mistakes: Future modifications or audits might overlook references to deadline_set because of the typo.

  2. Code Quality: Reduces confidence in the code’s correctness and thoroughness.

Tools Used

  • Manual review of the source code.

  • Comparing field names with expected terminology in the documentation.

Recommendations

  • Rename the field to deadline_set for more clarity.

  • Refactor the migration (if necessary) and update the documentation.

Updates

Appeal created

bube Lead Judge 6 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.