[ https://issues.apache.org/jira/browse/ARROW-16225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhengle updated ARROW-16225: ---------------------------- Description: File: cpp\src\parquet\encryption\encryption.cc Line: 393 {code:cpp} encryption::RandBytes(aad_file_unique, sizeof(kAadFileUniqueLength)); {code} *sizeof* seems unnecessary here? was: File: cpp\src\parquet\encryption\encryption.cc Line: 393 ??encryption::RandBytes(aad_file_unique, sizeof(kAadFileUniqueLength));?? ??sizeof?? seems unnecessary here? > [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)