Skip to content

Corruption when using small backing buffers #67

Description

@JosephCottam

If backing an IndexedEncoding with a BigFileByteBuffer and a small buffer, the indexed encoding can return incorrect values IF the buffer offset is moved.

Only affects BigFileByteBuffer because its the only one that repositions the buffer. Bug is rare because FileByteBuffer utilities will return FileByteBuffer objects when requested segment is small enough to fit in a standard buffer.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions