A mint/airdrop iterates a caller-supplied array with no length cap. A large array runs out of gas (blocking the operation) or, combined with per-item accounting, inflates supply unexpectedly.
// airdrop(bigArray) with 5000 entries -> exceeds block gas limit, // the tx always reverts; or a cheaper griefer forces others' batches // to compete for gas.
require(recipients.length <= MAX_BATCH, "batch too large");
for (uint i; i < recipients.length; ++i) { _mint(recipients[i], amount); }
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0214 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.