DigestMD5Client has not checked RealmChoiceCallback value

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 5.0, 6, 7, 8
    • Component/s: security-libs
    • None
    • 5.0
    • b91
    • Verified

      In DigestMD5Client.java, we just use the return value of a RealmChoiceCallback directly without validating it

         negotiatedRealm = realmTokens[ccb.getSelectedIndexes()[0]];

      an NPE or ArrayIndexOOBE might be thrown.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: