Skip to content

Commit

Permalink
Fix PGPCompressedData.getDataStream() not detecting +1 overreading
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Jul 17, 2024
1 parent b8e4716 commit a745581
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected void fill() throws IOException
if (len == -1)
{
buf[0] = 0;
len = 1;
len = 0;
eof = true;
}

Expand Down Expand Up @@ -160,7 +160,7 @@ protected void fill() throws IOException
if (len == -1)
{
buf[0] = 0;
len = 1;
len = 0;
eof = true;
}

Expand Down

0 comments on commit a745581

Please sign in to comment.