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

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

Ok, after reading the Parquet encryption spec, this is probably not 
security-critical. It's just a way of avoiding filename collisions.

> [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++, Parquet
>            Reporter: zhengle
>            Assignee: Maya Anderson
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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.7#820007)

Reply via email to