diff options
| author | Gavin Andresen <[email protected]> | 2012-08-26 17:08:18 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-08-26 17:08:18 -0400 |
| commit | d5a52d9b3edaae6c273b732456d98e6b28ed7b31 (patch) | |
| tree | 9c41c7b28fabdd7e831128d37071d53bd3b4e4c5 /src/test/script_P2SH_tests.cpp | |
| parent | Merge branch '2012_08_progressbarwin' of git://github.com/laanwj/bitcoin (diff) | |
| download | discoin-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