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

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


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