21 lines
509 B
Solidity
21 lines
509 B
Solidity
/*
|
|
* @source: etherscan.io
|
|
* @author: -
|
|
* @vulnerable_at_lines: 17
|
|
*/
|
|
|
|
pragma solidity ^0.4.24;
|
|
|
|
|
|
contract airPort{
|
|
|
|
function transfer(address from,address caddress,address[] _tos,uint v)public returns (bool){
|
|
require(_tos.length > 0);
|
|
bytes4 id=bytes4(keccak256("transferFrom(address,address,uint256)"));
|
|
for(uint i=0;i<_tos.length;i++){
|
|
// <yes> <report> UNCHECKED_LL_CALLS
|
|
caddress.call(id,from,_tos[i],v);
|
|
}
|
|
return true;
|
|
}
|
|
} |