[OpenSIPS-Devel] [OpenSIPS/opensips] 960ab3: mid_registrar: Fix mem management bugs around "max...
Liviu Chircu
noreply at github.com
Fri Mar 6 16:49:59 UTC 2026
Branch: refs/heads/3.6
Home: https://github.com/OpenSIPS/opensips
Commit: 960ab38e850e915796bf3248ca00f72ab4e23f56
https://github.com/OpenSIPS/opensips/commit/960ab38e850e915796bf3248ca00f72ab4e23f56
Author: Liviu Chircu <liviu at opensips.org>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M modules/mid_registrar/save.c
M modules/usrloc/kv_store.c
Log Message:
-----------
mid_registrar: Fix mem management bugs around "max contacts"
* avoid UAF of the @uc pointer during iteration
* fix logic so that the current @c cannot be freed by trim_contacts()
itself, yet again leading to UAF type of bugs
usrloc: Fix rare memleak edge-case
(cherry picked from commit 2642e14fb17fcc1ed24eab51bd0568bb743f51e2)
Commit: f47c2f47bb2393c33f5979a86747db82cf2e7b2b
https://github.com/OpenSIPS/opensips/commit/f47c2f47bb2393c33f5979a86747db82cf2e7b2b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M lib/reg/common.c
M lib/reg/common.h
M lib/reg/doc/reg_modparams.xml
M modules/mid_registrar/save.c
M modules/registrar/save.c
Log Message:
-----------
registrars: Allow accepting Re-REGISTERs with equal CSeq
New module setting for both registrar and mid-registrar which controls
the policy on handling same Call-ID REGISTERs, with the same CSeq.
modparam: allow_dup_cseq
default: false (100% backwards-compatible)
Ultimately, this boils down to a trade-off between interoperability and
RFC strictness. More info in the modparam documentation.
(cherry picked from commit dda9010efb6149c44a98cb2029215d0e28ee3f89)
Compare: https://github.com/OpenSIPS/opensips/compare/d1777c7dc442...f47c2f47bb23
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list