Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1019

Elytron, ensure BSDUnixDESCryptPasswordImpl don't suffer on sign-extension bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Beta36
    • None
    • None
    • 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/ELY-960

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

                Created:
                Updated:
                Resolved: