Airdop::airdrop can airdrop unlimitted amount that greater than the maxmium_supple.
description
There is an invariant that the to be airdropped amount plus the supplied should less than or equal to maxmium_supply, but this line of code have the reverse logic.
subject
Airdop::airdrop
can airdrop unlimitted amount that greater than themaxmium_supple
.description
There is an invariant that the to be airdropped
amount
plus thesupplied
should less than or equal tomaxmium_supply
, but this line of code have the reverse logic.The impact is that
Airdop::airdrop
can airdrop unlimitted amount that greater than themaxmium_supple
.recommendation
change the implementation to:
locations
severity
Critical
damage
exploitability
category
Logic
system_generated: auditor:jayphbee submission_id:1464760280