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

Fix panic caused by array out of bounds #284

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

cardigan1008
Copy link
Contributor

@cardigan1008 cardigan1008 commented Mar 13, 2024

Fix 1. Array out-of-bounds error in #244

In the replay file, the input "94-11-05T08:15:34.0-:0" does not adhere to the Gregorian date time format, leading to prev_idx > end_idx, which, in my opinion, should trigger an error.

Copy link

codecov bot commented Mar 13, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.67%. Comparing base (822c0a0) to head (d478682).

Files Patch % Lines
src/epoch.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   81.67%   81.67%   -0.01%     
==========================================
  Files          16       16              
  Lines        3836     3841       +5     
==========================================
+ Hits         3133     3137       +4     
- Misses        703      704       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ChristopherRabotin ChristopherRabotin merged commit 54a9ef8 into nyx-space:master Apr 6, 2024
17 of 31 checks passed
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.

2 participants