Skip to content

Commit

Permalink
feat(judge): only preserve last 1024 character in stderr (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagocc committed Jun 17, 2024
1 parent ba9f312 commit 7dc062c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makespec/BUILDVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
259
260
2 changes: 1 addition & 1 deletion src/core/judgingthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ void JudgingThread::runProgram() {

if (file.open(QFile::ReadOnly)) {
QTextStream stream(&file);
message = stream.readAll();
message = stream.readAll().right(1024);
file.close();
}

Expand Down

0 comments on commit 7dc062c

Please sign in to comment.