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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 304d1554914302363915aa06db91bcffff27d07c
      https://github.com/OpenSIPS/opensips/commit/304d1554914302363915aa06db91bcffff27d07c
  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).




More information about the Devel mailing list