diff options
author | Evgeny Medvedev <evgeny@kitchenup.com> | 2017-11-14 03:49:40 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-12 11:31:00 +0800 |
commit | 2f6f81640bca9fb358db12b088ff82f9b4f132bd (patch) | |
tree | 78675ce8325c3d87255da05e8fa8e018c6597dae /docs/installing-solidity.rst | |
parent | 539b8f3b45183ea28219ab31bea73ea033616006 (diff) | |
download | dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar.gz dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar.bz2 dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar.lz dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar.xz dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.tar.zst dexon-solidity-2f6f81640bca9fb358db12b088ff82f9b4f132bd.zip |
Add another contract with call to demonstrate re-entrancy vulnerability.
Add another contract with call to demonstrate re-entrancy vulnerability as send explicitly sets gas to 2300 by default according to this commit 9ca7472 which makes it impossible to "get multiple refunds" because a non-zero CALL costs at least 9700 gas. This issue is discussed on Ethereum StackExchange https://ethereum.stackexchange.com/questions/30371/send-ether-reentrancy-attack-in-reality-how-could-fallback-function-make-a-mes/30616#30616
Diffstat (limited to 'docs/installing-solidity.rst')
0 files changed, 0 insertions, 0 deletions