aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-04 20:21:04 +0800
committerGitHub <noreply@github.com>2017-08-04 20:21:04 +0800
commite48730fed95d6b6cc8a8b46f6b96d309526baea9 (patch)
treeda2a41f841b6dc55fc6f3d2727c5db1534270e7b /docs
parentbd9e91085b239323e3280c720135059c5e55cacb (diff)
parent8d832c7cd36fd0feef1b23701a8eb72316bd468d (diff)
downloaddexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar.gz
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar.bz2
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar.lz
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar.xz
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.tar.zst
dexon-solidity-e48730fed95d6b6cc8a8b46f6b96d309526baea9.zip
Merge pull request #2696 from AdrianClv/patch-1
Removes reference to stack depth attack
Diffstat (limited to 'docs')
-rw-r--r--docs/solidity-by-example.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 71d27192..dde4495b 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -277,9 +277,9 @@ activate themselves.
if (highestBidder != 0) {
// Sending back the money by simply using
// highestBidder.send(highestBid) is a security risk
- // because it can be prevented by the caller by e.g.
- // raising the call stack to 1023. It is always safer
- // to let the recipients withdraw their money themselves.
+ // because it could execute an untrusted contract.
+ // It is always safer to let the recipients
+ // withdraw their money themselves.
pendingReturns[highestBidder] += highestBid;
}
highestBidder = msg.sender;