[OpenSIPS-Devel] [OpenSIPS/opensips] 953fbf: Fix dangling path vector in shm cloned request.

Bogdan Andrei IANCU noreply at github.com
Wed Apr 3 07:50:35 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 953fbfb7fef418e5620a1c77ead1c9f6cc521524
      https://github.com/OpenSIPS/opensips/commit/953fbfb7fef418e5620a1c77ead1c9f6cc521524
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  Fix dangling path vector in shm cloned request.

When doing save() on reply, be sure you free whatever path_vec may be attached via save_aux() in pkg. Keep in mind that the request is a cloned request in shm.
Closes #1640.
May thanks to @netaskd for his help in troubleshooting this issue.

(cherry picked from commit 2b6b000305f0957e2e020bdfa9be869795cc41dd)





More information about the Devel mailing list