[OpenSIPS-Devel] [OpenSIPS/opensips] 6765b7: mid_registrar: Fix regression introduced in c11f92698
Liviu Chircu
noreply at github.com
Tue Sep 28 11:55:21 EST 2021
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 6765b7d95b99626ca81986561f3d7851b3e90c8f
https://github.com/OpenSIPS/opensips/commit/6765b7d95b99626ca81986561f3d7851b3e90c8f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M modules/mid_registrar/save.c
Log Message:
-----------
mid_registrar: Fix regression introduced in c11f92698
Avoid re-using anonymous structures outside of the block scope they were
declared in, as the compiler may easily re-use that stack memory outside
the given scope.
Credits to Andrew Yager for providing debugging info, as well as
bisecting down to the exact culprit commit!
(cherry picked from commit 8df8fd960b3311487b58e10244023ca547884536)
More information about the Devel
mailing list