Module: kamailio Branch: master Commit: d82e980a85f1a28498e3883a77c4789caff0c15e URL: https://github.com/kamailio/kamailio/commit/d82e980a85f1a28498e3883a77c4789caff0c15e
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-05-13T10:58:43+02:00 core: prser - check on other parm names --- Modified: src/core/parser/digest/param_parser.c --- Diff: https://github.com/kamailio/kamailio/commit/d82e980a85f1a28498e3883a77c4789caff0c15e.diff Patch: https://github.com/kamailio/kamailio/commit/d82e980a85f1a28498e3883a77c4789caff0c15e.patch --- diff --git a/src/core/parser/digest/param_parser.c b/src/core/parser/digest/param_parser.c index 541b081d8e2..3dfc77f1e81 100644 --- a/src/core/parser/digest/param_parser.c +++ b/src/core/parser/digest/param_parser.c @@ -251,6 +251,9 @@ int parse_param_name(str *_s, dig_par_t *_type) } other: + if(unlikely(p > end)) { + return -1; /* Parse error */ + } p = q_memchr(p, '=', end - p); if(!p) { return -1; /* Parse error */ _______________________________________________ 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!
