-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
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); |
origin/packages/traceability/issuer/contracts/Registry.sol
Lines 57 to 58 in 4048d1b
| for (uint256 i = 0; i <= _values.length; i++) { | |
| ids[i] = i + _latestCertificateId + 1; |
josipbagaric
Metadata
Metadata
Assignees
Labels
No labels