29244 - [SC - Insight] Using permit inside the function can lead to Do...
Description
Brief/Intro
function _takeTokens(uint256 amount, PermitData memory permit) internal {
if (permit.deadline > 0) {
IERC2612(address(zero)).permit(
msg.sender,
address(this),
permit.value,
permit.deadline,
permit.v,
permit.r,
permit.s
);
}
zero.transferFrom(msg.sender, address(this), amount);
}Vulnerability Details
Impact Details
References
Proof of Concept
Previous29225 - [SC - Insight] EarlyZEROVesting is having a rounding issue and...Next29249 - [SC - Insight] Using permit inside the function can lead to Do...
Last updated
Was this helpful?