Skip to content

Commit

Permalink
Merge pull request #393 from nroduit/fix-392
Browse files Browse the repository at this point in the history
Attributes.removePrivateAttributes() trows ArrayIndexOutOfBoundsException #392
  • Loading branch information
gunterze committed Jan 8, 2019
2 parents 54288c8 + 376c853 commit 53ac367
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3267,7 +3267,7 @@ public int removePrivateAttributes() {
int size1 = size;
for (int i = 0; i < size1; i++) {
int j = i;
while (TagUtils.isPrivateGroup(tags[j]) && j < size1)
while (j < size1 && TagUtils.isPrivateGroup(tags[j]))
j++;
if (j > i) {
int len = size1 - j;
Expand Down

0 comments on commit 53ac367

Please sign in to comment.