20 lines
509 B
Solidity
20 lines
509 B
Solidity
/*
|
|
* @source: etherscan.io
|
|
* @author: -
|
|
* @vulnerable_at_lines: 16
|
|
*/
|
|
|
|
pragma solidity ^0.4.18;
|
|
|
|
contract EBU{
|
|
|
|
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[i]);
|
|
}
|
|
return true;
|
|
}
|
|
} |