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

ValidateFull() does not validate null_count

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              derekdb_snowflake Derek Denny-Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: