diff options
author | Anthony Towns <aj@erisian.com.au> | 2017-09-11 13:40:31 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2017-09-11 13:40:31 +1000 |
commit | d601f16621e55c2f174afea2c5d7d1c9a0c0b969 (patch) | |
tree | b75a7cd430b2010518414f6669dbc04dccea97b0 /src/script | |
parent | ee50c9e48786dea0d9df2e45805c25565c100fe3 (diff) |
Fix invalid memory access in CScript::operator+=
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h index 587f2d26eb..2a92060543 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -420,6 +420,7 @@ public: CScript& operator+=(const CScript& b) { + reserve(size() + b.size()); insert(end(), b.begin(), b.end()); return *this; } |