Y
Hacker News
new
|
ask
|
show
|
jobs
by
uvdiv
4836 days ago
Force a race condition on the variable `root'.
if (n.divide(root).equals(root)) {
Try to set it to 2^20001 on the first funcall and 0 on the second.
1 comments
mtpettyp
4835 days ago
BigInteger is immutable so this won't work
link
uvdiv
4833 days ago
You're right! Good catch.
link