Skip to content

Bug: Potential buffer over-read on arch where pointer size > 32 bits #2

@smlu

Description

@smlu

https://github.com/generEOS/eosio.random/blob/master/random.cpp#L16
The inputted data length is the size of a pointer not int as it should be. On architecture where pointer size is greater than int this will result in data over-read.

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