[C++] AesEncryptor and AesDecryptor primitives are unsafe

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: parquet-cpp
    • None

      AesEncryptor::Encrypt, AesDecryptor::Decrypt take a pointer to the output buffer but without the output buffer length. The caller is required to guess the expected output length. The functions also return the written output length, but at this point it's too late: data may have been written out of bounds.

            Assignee:
            Unassigned
            Reporter:
            Antoine Pitrou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: