[OpenSIPS-Devel] [OpenSIPS/opensips] 40aba8: sql_cacher: fix concurrent use of $sql_cached_value
Vlad Pătrașcu
noreply at github.com
Tue Oct 29 13:12:56 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 40aba8e29673803c7a39a3efc96bb5260d785587
https://github.com/OpenSIPS/opensips/commit/40aba8e29673803c7a39a3efc96bb5260d785587
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths:
M modules/sql_cacher/sql_cacher.c
M modules/sql_cacher/sql_cacher.h
Log Message:
-----------
sql_cacher: fix concurrent use of $sql_cached_value
For example, this fixes issues when calling a script function with multiple
$sql_cached_value params as PV specs. The function would get the same static
buffer that would be progressively extended and overwritten.
(cherry picked from commit cefc071606b52aefffa2967adf8b5846878c3296)
More information about the Devel
mailing list