8263509: LdapSchemaParser.readNextTag checks array length incorrectly
Reviewed-by: stuefe, aefimov
This commit is contained in:
parent
9c50b8e66a
commit
83a9a0296e
@ -376,7 +376,7 @@ final class LdapSchemaParser {
|
||||
values = readTag(tagName, string, pos);
|
||||
|
||||
// make sure at least one value was returned
|
||||
if(values.length < 0) {
|
||||
if (values.length == 0) {
|
||||
throw new InvalidAttributeValueException("no values for " +
|
||||
"attribute \"" +
|
||||
tagName + "\"");
|
||||
|
Loading…
x
Reference in New Issue
Block a user