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

Make sure we never check values outside _logSize queue #220

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

konraddysput
Copy link
Collaborator

Why

One customer shared with us a potentially bad situation that happened in the BacktraceStorageLogManager implementation - it looks like we ran outside _logSize array. Normally it cannot happen, however, we want to be sure, that even if we have a bug, the code works correctly.

This simple patch makes sure we don't run outside _logSize array

@konraddysput konraddysput added the bug Something isn't working label Jun 25, 2024
@konraddysput konraddysput self-assigned this Jun 25, 2024
@konraddysput konraddysput merged commit ecadffe into master Jun 26, 2024
10 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants