Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8162723

Array index overflow in Base64 utility class

    Details

    • Subcomponent:
    • Resolved In Build:
      b141
    • Verification:
      Not verified

      Backports

        Description

        See: https://issues.apache.org/jira/browse/SANTUARIO-450

        "At arbitrary large XML objects (i.e. XML elements with large content; this is about >300 MB) the process of encryption fails with an java.lang.NegativeArraySizeException, because of using int instead of long for calculating the number of bits in preparation of Base64-Encoding."

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mullan Sean Mullan
                  Reporter:
                  mullan Sean Mullan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: