Silence ubsan false positive

fix #1214
This commit is contained in:
Vinnie Falco
2018-08-02 07:20:12 -07:00
parent 1da229a27c
commit f32a8e2c99
3 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
Version 182:
* Silence ubsan false positive
--------------------------------------------------------------------------------
Version 181:
* Fix parse_dec algorithm

View File

@@ -76,6 +76,8 @@ in future versions.
* ([issue 1211]) Fix parse_dec algorithm
* ([issue 1214]) Silence ubsan false positive
* Tidy up websocket stream javadocs
* Fix move-only arguments in [link beast.ref.boost__beast__bind_handler `bind_handler`]

View File

@@ -152,7 +152,7 @@ class stream<NextLayer, deflateSupported>::write_some_op
std::size_t in_;
int how_;
bool fin_;
bool more_;
bool more_ = false; // for ubsan
bool cont_ = false;
public: