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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • 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

              bkietz Ben Kietzman
              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