[OpenSIPS-Devel] [OpenSIPS/opensips] 13a793: tm: remove cluster received '\0' from buffer len

Răzvan Crainea noreply at github.com
Mon Jan 23 12:56:01 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 13a79336ce9a0cdbe05919125c41874ba7a94c6c
      https://github.com/OpenSIPS/opensips/commit/13a79336ce9a0cdbe05919125c41874ba7a94c6c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M modules/tm/cluster.c

  Log Message:
  -----------
  tm: remove cluster received '\0' from buffer len

When sending a message through cluster, the tm module adds a '\0'
terminator to the message - that is because receive_msg expects it.
However, this character should not be part of the message lenght.

Reported by Denys Pozniak on mailing lists.

(cherry picked from commit 81e9b14a16acd284469d8958c57dcece69699a85)





More information about the Devel mailing list