Antoine Pitrou created PARQUET-1997:
---------------------------------------

             Summary: [C++] AesEncryptor and AesDecryptor primitives are unsafe
                 Key: PARQUET-1997
                 URL: https://issues.apache.org/jira/browse/PARQUET-1997
             Project: Parquet
          Issue Type: Bug
          Components: parquet-cpp
            Reporter: Antoine Pitrou


{{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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to