Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5786

[classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M5
    • 5.0M6
    • Classlib
    • None

    Description

      1.
      public void decodeValues(Object[] values) {
      result = new LdapResult();
      result.decodeValues(values);
      oid = Utils.getString(values[4]);
      if (values[5] != null)

      { encodedValue = (byte[]) values[5]; }

      }

      if values[4] is null, oid will be assigned incoreect value "", while it should be null.

      2. following RI, LdapContextImpl.targetMustExist() always return true

      3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance

      Attachments

        1. HARMONY-5786.diff
          10 kB
          Regis Xu

        Activity

          People

            purefire Jimmy, Jing Lv
            regis_xu Regis Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment