This is an automated email from the ASF dual-hosted git repository.
dmeden 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 9387ed65cd CID1534716: use after move on txn_box ip_space module.
(#11133)
9387ed65cd is described below
commit 9387ed65cd6aa3f7c5ce4816f54a70ee1d7e952e
Author: Damian Meden <[email protected]>
AuthorDate: Tue Mar 12 10:26:52 2024 +0100
CID1534716: use after move on txn_box ip_space module. (#11133)
---
plugins/experimental/txn_box/plugin/src/ip_space.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/experimental/txn_box/plugin/src/ip_space.cc
b/plugins/experimental/txn_box/plugin/src/ip_space.cc
index 7ccb8c963c..6b71cce4b2 100644
--- a/plugins/experimental/txn_box/plugin/src/ip_space.cc
+++ b/plugins/experimental/txn_box/plugin/src/ip_space.cc
@@ -612,8 +612,8 @@ Do_ip_space_define::define_column(Config &cfg, YAML::Node
node)
break;
}
_row_size += col._row_size;
- _cols.emplace_back(std::move(col));
_col_names.define(col._idx, col._name);
+ _cols.emplace_back(std::move(col));
return {};
}