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

Răzvan Crainea noreply at github.com
Mon Jan 9 08:24:11 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 81e9b14a16acd284469d8958c57dcece69699a85
      https://github.com/OpenSIPS/opensips/commit/81e9b14a16acd284469d8958c57dcece69699a85
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-01-09 (Mon, 09 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.





More information about the Devel mailing list