Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.2
    • Component/s: None
    • Labels:
      None

      Description

      In smack 3.1.0 :
      XMPPConnection, line 1222 - 1223. 'pcb' is referencing a null pointer, which is then assigned on the next line. These two lines should be swapped.

      Before:

      ks.load(new FileInputStream(configuration.getKeystorePath()), pcb.getPassword());
      pcb = new PasswordCallback("Keystore Password: ",false);

      After:

      pcb = new PasswordCallback("Keystore Password: ",false);
      ks.load(new FileInputStream(configuration.getKeystorePath()), pcb.getPassword());

        Activity

        Hide
        Robin Collier added a comment -

        The relevant code has already been changed and the bug in question no longer exists.

        Show
        Robin Collier added a comment - The relevant code has already been changed and the bug in question no longer exists.

          People

          • Assignee:
            Robin Collier
            Reporter:
            wroot
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development