Skip to content

Initializing a heap with a size greater than 256 KiB results in corruption #77

@satur9nine

Description

@satur9nine

Deep down in the README it says "Each memory block holds 8 bytes, and there are up to 32767 blocks available, for about 256K of heap space." but it's pretty easy to forget or not have read that in the first place.

The first thing I did was try to use this library with a 320 KiB heap and get a bunch of corruption.

There should be some code to catch this early.

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