Jonathan Gibbons
2018-10-01 14:56:56 UTC
I'm guessing serviceability-dev is a better place for this message.
-- Jon
-- Jon
Hello guys,
the revokeall utility has an infinite loop in its revokeAll method.
while (count > 0) {
if (((ACCESS_ALLOWED_ACE *)ace)->Header.AceType !=
ACCESS_ALLOWED_ACE_TYPE) {
    continue;
}
which loops forever if the condition is met. Note that the âcountâ
if (((ACCESS_ALLOWED_ACE *)ace)->Header.AceType !=
ACCESS_ALLOWED_ACE_TYPE) {
    count--;
    continue;
}
I checked the OpenJDK 8, 9 and 10, the bug is in all versions.
Thanks ahead for the fix,
Lada Jahoda
the revokeall utility has an infinite loop in its revokeAll method.
while (count > 0) {
if (((ACCESS_ALLOWED_ACE *)ace)->Header.AceType !=
ACCESS_ALLOWED_ACE_TYPE) {
    continue;
}
which loops forever if the condition is met. Note that the âcountâ
if (((ACCESS_ALLOWED_ACE *)ace)->Header.AceType !=
ACCESS_ALLOWED_ACE_TYPE) {
    count--;
    continue;
}
I checked the OpenJDK 8, 9 and 10, the bug is in all versions.
Thanks ahead for the fix,
Lada Jahoda