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

채점 오류 메시지에 경로가 노출된다 #39

Open
joonas-yoon opened this issue Feb 8, 2018 · 0 comments
Open

채점 오류 메시지에 경로가 노출된다 #39

joonas-yoon opened this issue Feb 8, 2018 · 0 comments
Labels

Comments

@joonas-yoon
Copy link
Member

judge에서 오류가 나면 아래와 같이 표시됨

채점에 문제가 생겼습니다.
자세한 오류 정보

Traceback (most recent call last):
  File "/home/litmus/judge/dmoj/judge.py", line 163, in _begin_grading
    problem = Problem(problem_id, time_limit, memory_limit, load_pretests_only=pretests_only)
  File "/home/litmus/judge/dmoj/problem.py", line 51, in __init__
    self.cases = self._resolve_testcases(self.config['pretest_test_cases' if self.is_pretested else 'test_cases'])
  File "/home/litmus/judge/dmoj/problem.py", line 73, in _resolve_testcases
    for case_config in cfg:
TypeError: 'NoneType' object is not iterable

제출한 소스코드가 아닌 내부 오류 메시지를 출력하기 때문에 혼란이 올 뿐 아니라 보안 이슈도 있어보임

@joonas-yoon joonas-yoon added the bug label Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant