Skip to content

Use of "int" for length is troubling #5

@jasom

Description

@jasom

It is possible for allocations to exceed INT_MAX in size, most notably on most 64-bit C implementations.

I think ptrdiff_t is the best signed type available for using this, but may be wrong.

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