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

Răzvan Crainea noreply at github.com
Mon Jan 23 13:09:29 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e4c11d992ff9c72ea8935880efb27d91d45acd78
      https://github.com/OpenSIPS/opensips/commit/e4c11d992ff9c72ea8935880efb27d91d45acd78
  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