Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9741

Elytron, ensure BSDUnixDESCryptPasswordImpl doesn't suffer with sign-extension bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR17
    • 7.1.0.DR14
    • Security
    • None

      shifts += keyShifts[i];
      

      should be also ensured by

      shifts += keyShifts[i] & 0xff;
      

      True is array keyShifts does not contain any negative value, but it doesn't neither IP or keyPerm, which are ensured ?

      This follow up https://issues.jboss.org/browse/JBEAP-8505

              rhn-support-ivassile Ilia Vassilev
              mchoma@redhat.com Martin Choma
              Martin Choma Martin Choma
              Martin Choma Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: