You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/04/19 10:17:00 UTC

[jira] [Commented] (ARROW-16225) [c++][parquet] encryption code bug?

    [ https://issues.apache.org/jira/browse/ARROW-16225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524225#comment-17524225 ] 

Antoine Pitrou commented on ARROW-16225:
----------------------------------------

cc [~mayaa]

> [c++][parquet] encryption code bug?
> -----------------------------------
>
>                 Key: ARROW-16225
>                 URL: https://issues.apache.org/jira/browse/ARROW-16225
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: zhengle
>            Priority: Trivial
>
> File:  cpp\src\parquet\encryption\encryption.cc
> Line:  393
> {code:cpp}
> encryption::RandBytes(aad_file_unique, sizeof(kAadFileUniqueLength));
> {code}
> *sizeof* seems unnecessary here?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)