Skip to content

BUG - ERC1888 array overrun #3365

Description

@Jon-Salmon

The batchIssue function appears to have a bug where the for loop is bounded incorrectly resulting in an array overflow.

ids = new uint256[](_values.length);

for (uint256 i = 0; i <= _values.length; i++) {
ids[i] = i + _latestCertificateId + 1;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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