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

[C++] ValidateFull() does not validate null_count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • C++

    Description

      It is possible to corrupt a serialized record batch such that the null_count of the parsed result is invalid.  Attached is a repro where the the parsed null_count = -2, but ValidateFull returns success.  I would expect ValidateFull to verify the null_count against the serialized columns.

      Attachments

        1. arrow_null_count.cpp
          2 kB
          Derek Denny-Brown

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              derekdb_snowflake Derek Denny-Brown
              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 - 1h 20m
                  1h 20m