You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by du...@apache.org on 2018/04/24 19:16:43 UTC
[trafficserver] branch master updated: This is causing ASAN to
freak out, and it is actually not useful.
This is an automated email from the ASF dual-hosted git repository.
duke8253 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new cb3f4a7 This is causing ASAN to freak out, and it is actually not useful.
cb3f4a7 is described below
commit cb3f4a79ff343965362ba1e8c1e943953d08608a
Author: Fei Deng <du...@gmail.com>
AuthorDate: Tue Apr 24 11:25:46 2018 -0500
This is causing ASAN to freak out, and it is actually not useful.
---
plugins/experimental/multiplexer/original-request.cc | 2 --
1 file changed, 2 deletions(-)
diff --git a/plugins/experimental/multiplexer/original-request.cc b/plugins/experimental/multiplexer/original-request.cc
index 1bedea0..f0c1943 100644
--- a/plugins/experimental/multiplexer/original-request.cc
+++ b/plugins/experimental/multiplexer/original-request.cc
@@ -34,7 +34,6 @@ get(const TSMBuffer &b, const TSMLoc &l, const T &t)
assert(buffer != nullptr);
assert(length > 0);
- assert(strlen(buffer) >= static_cast<unsigned int>(length));
return std::string(buffer, length);
}
@@ -47,7 +46,6 @@ get(const TSMBuffer &b, const TSMLoc &l, const TSMLoc &f, const int i = 0)
assert(buffer != nullptr);
assert(length > 0);
- assert(strlen(buffer) >= static_cast<unsigned int>(length));
return std::string(buffer, length);
}
--
To stop receiving notification emails like this one, please contact
duke8253@apache.org.