mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
[FIXED JENKINS-8686]
As I mentioned in the comment, I doubt if this makes any behaviour change, but this seems like a sensible defensive measure that wouldn't hurt.
This commit is contained in:
1 parent
548373fad1
commit
dc94b7d063
5 files changed
+7
-7
No files matched your search
@@ -399,7 +399,7 @@ public abstract class Proc {
|
||||
try {
|
||||
byte[] buf = new byte[8192];
|
||||
int len;
|
||||
while ((len = in.read(buf)) > 0) {
|
||||
while ((len = in.read(buf)) >= 0) {
|
||||
out.write(buf, 0, len);
|
||||
out.flush();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user