Skip to content

Bug: Overflow of read/writeptr #140

@ThoreMehr

Description

@ThoreMehr

I think behaviour depends on the platform. At least on mine when usize overflows it wraps. As len() is defined with the difference of those pointers if one wraps and the other not the difference will be large and wrong.
I think to solve that one would have to track length independently or do something smart with those pointers in case of warping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions