You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/05/14 17:10:44 UTC
[trafficserver] branch 9.0.x updated: Fixed `AddressSanitizer:
odr-violation`
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 59663bd Fixed `AddressSanitizer: odr-violation`
59663bd is described below
commit 59663bd30291ea9809491f696ea5e85f3c574446
Author: Gancho Tenev <ga...@apache.org>
AuthorDate: Wed May 13 18:00:42 2020 -0700
Fixed `AddressSanitizer: odr-violation`
Fixed ODR violation in test_RemapPluginInfo when using test plugin
plugin_testing_calls.so. Also fixed a typo in specifying plugin
factory build dependencies.
(cherry picked from commit 02e8d5eaf90dc4d118c770585827c9a1485e8d73)
---
proxy/http/remap/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/proxy/http/remap/Makefile.am b/proxy/http/remap/Makefile.am
index c569801..af15a57 100644
--- a/proxy/http/remap/Makefile.am
+++ b/proxy/http/remap/Makefile.am
@@ -93,7 +93,7 @@ test_PluginFactory_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/tests/include -
test_PluginFactory_LIBTOOLFLAGS = --preserve-dup-deps
EXTRA_test_PluginFactory_DEPENDENCIES = \
unit-tests/plugin_v1.la \
- unit-tests/plugin_init_fail.la
+ unit-tests/plugin_init_fail.la \
unit-tests/plugin_instinit_fail.la
test_PluginFactory_LDADD = $(COMMON_PLUGINDSO_LDADDS)
test_PluginFactory_LDFLAGS = $(AM_LDFLAGS)
@@ -117,7 +117,6 @@ test_RemapPluginInfo_LDADD = $(COMMON_PLUGINDSO_LDADDS)
test_RemapPluginInfo_LDFLAGS = $(AM_LDFLAGS)
test_RemapPluginInfo_SOURCES = \
unit-tests/plugin_testing_common.cc \
- unit-tests/plugin_testing_calls.cc \
unit-tests/test_RemapPlugin.cc \
PluginDso.cc \
RemapPluginInfo.cc