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

Prevent infinite loop when calling ReadBoxStructure #151

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

aler9
Copy link
Contributor

@aler9 aler9 commented Sep 30, 2023

@sunfish-shogi

When ReadBoxStructure is called against a box with a size of zero, an infinite loop is generated due to the fact that the loop contained in readBoxStructure() never ends. This patch fixes the issue and provides a test case.

When ReadBoxStructure is called against a box with a size of zero, an
infinite loop is generated due to the fact that the loop contained in
readBoxStructure() never ends. This patch fixes the issue and provides
a test case.
@sunfish-shogi sunfish-shogi merged commit f2a0cd9 into abema:master Oct 1, 2023
6 checks passed
@aler9 aler9 deleted the patch/infinite-loop branch October 7, 2023 14:47
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