aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_P2SH_tests.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-08-26 17:08:18 -0400
committerGavin Andresen <[email protected]>2012-08-26 17:08:18 -0400
commitd5a52d9b3edaae6c273b732456d98e6b28ed7b31 (patch)
tree9c41c7b28fabdd7e831128d37071d53bd3b4e4c5 /src/test/script_P2SH_tests.cpp
parentMerge branch '2012_08_progressbarwin' of git://github.com/laanwj/bitcoin (diff)
downloaddiscoin-d5a52d9b3edaae6c273b732456d98e6b28ed7b31.tar.xz
discoin-d5a52d9b3edaae6c273b732456d98e6b28ed7b31.zip
Alert system DoS prevention
This fixes two alert system vulnerabilities found by Sergio Lerner; you could send peers unlimited numbers of invalid alert message to try to either fill up their debug.log with messages and/or keep their CPU busy checking signatures. Fixed by disconnecting/banning peers if they send 10 or more bad (invalid/expired/cancelled) alerts.
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions