[OpenSIPS-Devel] [OpenSIPS/opensips] adb560: Fix multiple int2str coversion in function paramet...

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Apr 2 04:00:39 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: adb560547cb2a991d6523a62476b21879f322cd6
      https://github.com/OpenSIPS/opensips/commit/adb560547cb2a991d6523a62476b21879f322cd6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-04-02 (Mon, 02 Apr 2018)

  Changed paths:
    M ut.c
    M ut.h

  Log Message:
  -----------
  Fix multiple int2str coversion in function parameters

While evaluating the parameters of the module funtions (which can be up to 6) some of them can internally use pvar evaluation with conversion from int to str.
Shortly, multiple int2str may be before in a row. To avoid data overlapping, the int2str uses now a set of 7 rotating buffers (instead of a single one).

(cherry picked from commit 304d1554914302363915aa06db91bcffff27d07c)




More information about the Devel mailing list