[OpenSIPS-Devel] [OpenSIPS/opensips] 8df8fd: mid_registrar: Fix regression introduced in c11f92698

Liviu Chircu noreply at github.com
Tue Sep 28 11:48:41 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8df8fd960b3311487b58e10244023ca547884536
      https://github.com/OpenSIPS/opensips/commit/8df8fd960b3311487b58e10244023ca547884536
  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!





More information about the Devel mailing list