[OpenSIPS-Devel] [OpenSIPS/opensips] 4c60af: $DLG_timeout pseudo-var: Fix crash on write operat...

Liviu Chircu liviu at opensips.org
Thu Jan 28 17:12:15 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4c60af868970deaa6ab59e3f4a2267576215ae2f
      https://github.com/OpenSIPS/opensips/commit/4c60af868970deaa6ab59e3f4a2267576215ae2f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  $DLG_timeout pseudo-var: Fix crash on write operations

Unless dialog replication is enabled, issue would occur.

Credits to Dragomir Haralambiev for reporting and helping troubleshoot this


  Commit: a4e3ff8852f7b80edc3bde1eefcc420b37836861
      https://github.com/OpenSIPS/opensips/commit/a4e3ff8852f7b80edc3bde1eefcc420b37836861
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/usrloc/ureplication.c
    M modules/usrloc/ureplication.h

  Log Message:
  -----------
  Fix declarations/definitions for all clusterer api variables

Variable definitions (as opposed to declarations) in C header files are
a bad practice and must be avoided.

Reported by Dragomir Haralambiev


Compare: https://github.com/OpenSIPS/opensips/compare/2efdbf8c45a3...a4e3ff8852f7


More information about the Devel mailing list