aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2021-01-29 23:02:30 +0100
committerThomas Wolf <thomas.wolf@paranor.ch>2021-01-31 10:31:10 +0100
commit91ddc0e28435fbd96350a7a0a75df0f9dd8fe133 (patch)
tree540cf0dee7159feb346a2c8a875e4563f7c4c94f /org.eclipse.jgit.archive
parentaa052ea09956385f5b90130f63ad4b07a3dee8c7 (diff)
downloadjgit-91ddc0e28435fbd96350a7a0a75df0f9dd8fe133.tar.gz
jgit-91ddc0e28435fbd96350a7a0a75df0f9dd8fe133.zip
IO: fix IO.readFully(InputStream, byte[], int)
This would run into an endless loop if the offset given was not zero. Fix the logic to exit the read loop when the buffer is full. Luckily all existing uses of this method call it only with offset zero. Change-Id: I0ec2a4fb43efe4a605d06ac2e88cf155d50e2f1e Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.archive')
0 files changed, 0 insertions, 0 deletions