Skip to content

Bounded queue does not work correctly with sizes not power of 2 #11

@link2xt

Description

@link2xt

Here is a report of a queue of size 1000 crashing trying to access index 1020 during dequeueing: https://github.com/deltachat/deltachat-core-rust/issues/2442

Edit: I posted a "testcase" here previously, but actually it does not reproduce the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions