mirror of https://github.com/ConsenSys/mythril
blockchainethereumsmart-contractssoliditysecurityprogram-analysissecurity-analysissymbolic-execution
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
758 B
29 lines
758 B
==== Ether send ====
|
|
Type: Warning
|
|
Contract: Crowdfunding
|
|
Function name: withdrawfunds()
|
|
PC address: 816
|
|
In the function 'withdrawfunds()' a non-zero amount of Ether is sent to msg.sender.
|
|
|
|
There is a check on storage index 1. This storage slot can be written to by calling the function 'crowdfunding()'.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/ether_send.sol:18
|
|
|
|
msg.sender.transfer(this.balance)
|
|
|
|
--------------------
|
|
|
|
==== Integer Overflow ====
|
|
Type: Warning
|
|
Contract: Crowdfunding
|
|
Function name: invest()
|
|
PC address: 483
|
|
A possible integer overflow exists in the function invest().
|
|
Addition may result in a lower value.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/ether_send.sol:24
|
|
|
|
balances[msg.sender] += msg.value
|
|
|
|
--------------------
|
|
|
|
|