Skip to content

Avoid infinite error handling recursion in runguard. #2664

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

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

meisterT
Copy link
Member

Previously, there were two scenarios that are problematic:

  • while handling an error, we start writing the meta file, and if that also fails, we treat this as handling a new error and never stop;
  • while writing the meta file, we encounter an error which in turn tries writing to the meta file causing another error and we never stop.

@meisterT meisterT requested a review from eldering August 27, 2024 19:12
Copy link
Member

@eldering eldering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Previously, there were two scenarios that are problematic:
- while handling an error, we start writing the meta file, and if that
  also fails, we treat this as handling a new error and never stop;
- while writing the meta file, we encounter an error which in turn tries
  writing to the meta file causing another error and we never stop.
@meisterT meisterT added this pull request to the merge queue Sep 2, 2024
Merged via the queue into DOMjudge:main with commit 11d2169 Sep 2, 2024
22 of 24 checks passed
@meisterT meisterT deleted the avoiderrorrec branch September 2, 2024 17:18
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.

3 participants