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

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


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