diff options
| author | Anthony Towns <[email protected]> | 2017-09-11 13:40:31 +1000 |
|---|---|---|
| committer | Anthony Towns <[email protected]> | 2017-09-11 13:40:31 +1000 |
| commit | d601f16621e55c2f174afea2c5d7d1c9a0c0b969 (patch) | |
| tree | b75a7cd430b2010518414f6669dbc04dccea97b0 /src/script/script.h | |
| parent | Merge #11276: [Docs] Update CONTRIBUTING.md to reduce unnecessary review work... (diff) | |
| download | discoin-d601f16621e55c2f174afea2c5d7d1c9a0c0b969.tar.xz discoin-d601f16621e55c2f174afea2c5d7d1c9a0c0b969.zip | |
Fix invalid memory access in CScript::operator+=
Diffstat (limited to 'src/script/script.h')
| -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 587f2d26e..2a9206054 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; } |