Skip to content

Out of bound reads in chunk iterator #198

Closed

Description

@alamb

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11865

There is a read_unaligned of a pointer offseted by index + 1 whose corresponding slice is only valid up to index - X, where X depends on the iterators' offset.

Activity

  1. added
    arrow
    on Apr 26, 2021
  2. alamb commented on Apr 26, 2021

    @alamb
    ContributorAuthor

    Comment from Jörn Horstmann(jhorstmann) @ 2021-03-15T14:01:41.332+0000:

    Good catch, this really looks suspect now. I think that second read could be replaced with reading a single byte since the bit_offset is guaranteed to be in 0..8, meaning we need at most one byte to fill in the remaining bits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowbugsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions