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

[C++] Scalar::hash may segfault for null scalars

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 4.0.0
    • Component/s: C++

      Description

      Scalar::Hash does not check Scalar::is_valid, which can result in inconsistent hashes when applied to uninitialized /.*Scalar::value/ or may segfault (since null binary scalars may have a null buffer).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bkietz Ben Kietzman
                Reporter:
                bkietz Ben Kietzman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 0.5h
                  0.5h