Module: kamailio Branch: 5.8 Commit: 7d15653a188c200b6d88e67aaabd80bfcd4fa650 URL: https://github.com/kamailio/kamailio/commit/7d15653a188c200b6d88e67aaabd80bfcd4fa650
Author: Henning Westerholt <[email protected]> Committer: Henning Westerholt <[email protected]> Date: 2026-06-24T07:26:11Z core: use correct length for ;ttl parameter parsing (cherry picked from commit 007f866b1cd068d141395ba7a1002ca6cef15157) (cherry picked from commit b50cf63413edeafe750c724838ac13cf109bab1a) (cherry picked from commit 5709418e6a47768e4f729e44530722bc42fedf1c) --- Modified: src/core/parser/parse_param.c --- Diff: https://github.com/kamailio/kamailio/commit/7d15653a188c200b6d88e67aaabd80bfcd4fa650.diff Patch: https://github.com/kamailio/kamailio/commit/7d15653a188c200b6d88e67aaabd80bfcd4fa650.patch --- diff --git a/src/core/parser/parse_param.c b/src/core/parser/parse_param.c index 698c0a9b47d..4fa5d66742c 100644 --- a/src/core/parser/parse_param.c +++ b/src/core/parser/parse_param.c @@ -207,7 +207,7 @@ static inline void parse_uri_class(param_hooks_t *_h, param_t *_p) && (!strncasecmp(_p->name.s + 1, "ransport", 8))) { _p->type = P_TRANSPORT; _h->uri.transport = _p; - } else if(_p->name.len == 2) { + } else if(_p->name.len == 3) { if(((_p->name.s[1] == 't') || (_p->name.s[1] == 'T')) && ((_p->name.s[2] == 'l') || (_p->name.s[2] == 'L'))) { _p->type = P_TTL; _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
