Skip to content

Commit

Permalink
[CVE-2012-2098] Actually this shift is supposed to be unsigned.
Browse files Browse the repository at this point in the history
  • Loading branch information
bodewig committed May 20, 2012
1 parent 15883a6 commit 8f70246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private void fallbackQSort3(int[] fmap,
if (r3 == 0) {
med = eclass[fmap[lo]];
} else if (r3 == 1) {
med = eclass[fmap[(lo+hi)>>1]];
med = eclass[fmap[(lo + hi) >>> 1]];
} else {
med = eclass[fmap[hi]];
}
Expand Down

0 comments on commit 8f70246

Please sign in to comment.