This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 670bd9ead4db7a0a9fe130a040f0cbb1de58a1df Author: Leif Hedstrom <[email protected]> AuthorDate: Sat Jul 13 09:59:22 2024 -0600 Fixes the assertion in TSRemapDLHandleGet (#11544) (cherry picked from commit 008eb499951fe098d2e0a66941b6f6d406ef0c76) --- src/api/InkAPI.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/InkAPI.cc b/src/api/InkAPI.cc index 45202fd74e..8ccb7c4aef 100644 --- a/src/api/InkAPI.cc +++ b/src/api/InkAPI.cc @@ -8642,7 +8642,7 @@ TSRemapToUrlGet(TSHttpTxn txnp, TSMLoc *urlLocp) void * TSRemapDLHandleGet(TSRemapPluginInfo plugin_info) { - sdk_assert(sdk_sanity_check_null_ptr(plugin_info)); + sdk_assert(sdk_sanity_check_null_ptr(plugin_info) == TS_SUCCESS); RemapPluginInfo *info = reinterpret_cast<RemapPluginInfo *>(plugin_info); return info->dlh();
