Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7253

PGPDataFormat: NullPointerException if decryptor gets body with invalid format

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.3
    • Fix Version/s: 2.12.4, 2.13.0
    • Component/s: camel-crypto
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      if the PGPDataFormat gets an invalid format during the decryption process a NullPointerException is thrown.

      The attached patch throws an IllegalArgumentException instead and improves further error situations if a wrong formated input is provided.

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              forsthofer Franz Forsthofer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: