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

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


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