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 2024/07/13 15:59:30 UTC
(trafficserver) branch master updated: Fixes the assertion in TSRemapDLHandleGet (#11544)
This is an automated email from the ASF dual-hosted git repository.
zwoop 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 008eb49995 Fixes the assertion in TSRemapDLHandleGet (#11544)
008eb49995 is described below
commit 008eb499951fe098d2e0a66941b6f6d406ef0c76
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Sat Jul 13 09:59:22 2024 -0600
Fixes the assertion in TSRemapDLHandleGet (#11544)
---
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 4e81bef41f..c3afec906c 100644
--- a/src/api/InkAPI.cc
+++ b/src/api/InkAPI.cc
@@ -8732,7 +8732,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();