Skip to content

fix/lecpy_outofbounds#1872

Merged
sambles merged 1 commit intomainfrom
fix/lecpy_outofbounds
Feb 27, 2026
Merged

fix/lecpy_outofbounds#1872
sambles merged 1 commit intomainfrom
fix/lecpy_outofbounds

Conversation

@SkylordA
Copy link
Copy Markdown
Contributor

@SkylordA SkylordA commented Feb 12, 2026

fix/lecpy_outofbounds

The next_returnperiod_idx value isn't checked against the length of returnperiods before trying to access it.
This is an issue with write_ept, write_ept_weighted, write_psept, write_psept_weighted.

@SkylordA SkylordA self-assigned this Feb 12, 2026
@SkylordA SkylordA added the bug Something isn't working label Feb 12, 2026
@SkylordA SkylordA changed the title move next_returnperiod_idx check to start of while loop fix/lecpy_outofbounds Feb 12, 2026
@sambles sambles mentioned this pull request Feb 26, 2026
@sstruzik sstruzik requested a review from vinulw February 26, 2026 10:33
@sambles sambles merged commit 5cd702e into main Feb 27, 2026
26 checks passed
@sambles sambles deleted the fix/lecpy_outofbounds branch February 27, 2026 13:48
@awsbuild awsbuild added this to the 2.5.1 milestone Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants