Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16225

[c++][parquet] encryption code bug?

Details

    Description

      File:  cpp\src\parquet\encryption\encryption.cc
      Line: 393

      encryption::RandBytes(aad_file_unique, sizeof(kAadFileUniqueLength));
      

      sizeof seems unnecessary here?

      Attachments

        Issue Links

          Activity

            People

              mayaa Maya Anderson
              zhengle2008 zhengle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h

                  Slack

                    Issue deployment